Commit 1a267e31 authored by Felix Delattre's avatar Felix Delattre Committed by Danijel Schorlemmer
Browse files

Fixed reference to losslib

parent bf6a7e15
Pipeline #30710 passed with stage
in 1 minute and 40 seconds
......@@ -21,11 +21,12 @@ import os
import argparse
import numpy as np
import pandas as pd
import losslib
import datetime
from .fragility_model import FragilityModel
from .losslib import get_full_gm_field
def damage_calculator(
exposure_filepath,
......@@ -63,7 +64,7 @@ def damage_calculator(
# Interpolate the ground-motion values for all the assets of the exposure model.
# pylint: disable=E1101
full_gm_field = losslib.get_full_gm_field(
full_gm_field = get_full_gm_field(
gm_field, exposure.lon, exposure.lat, interpolation_method
)
......
File mode changed from 100755 to 100644
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment