Switch damage calculation to use exposure-lib

2 jobs for 63-switch-the-damage-calculation-to-use-the-new-exposure-lib-database-instead-of-csv-files in 1 minute and 27 seconds (queued for 2 seconds)
Name Stage Failure
failed
linters Test
    Uninstalling losscalculator-0.1:
Successfully uninstalled losscalculator-0.1
Successfully installed losscalculator-0.1
$ make check
flake8 --max-line-length=96 losscalculator tests utils/preprocessor.py setup.py
losscalculator/damage_calculator.py:112:8: E999 IndentationError: unexpected indent
make: *** [Makefile:5: check] Error 1
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
tests Test
$ losscalculator damage -f examples/example_cell/data/fragilities.xml -m examples/example_cell/data/intensity_measure_map.csv -g examples/example_cell/data/ground_motion_values.csv -e examples/example_cell/data/exposure.csv -t examples/example_cell/data/taxonomy_mapping.csv -w
Traceback (most recent call last):
File "/builds/dynamicexposure/globaldynamicexposure/loss-calculator/venv/bin/losscalculator", line 5, in <module>
from losscalculator.damage_calculator import main
File "/builds/dynamicexposure/globaldynamicexposure/loss-calculator/venv/lib/python3.9/site-packages/losscalculator/damage_calculator.py", line 112
sql_statement = "SELECT BuildingAsset.id, "
IndentationError: unexpected indent
Cleaning up file based variables
ERROR: Job failed: exit code 1