Commit 103239ea authored by Felix Delattre's avatar Felix Delattre Committed by Tara Evaz Zadeh
Browse files

Renamed python module to fit naming convention

parent ddad6f99
Pipeline #30677 failed with stage
in 4 minutes and 40 seconds
...@@ -23,7 +23,8 @@ import numpy as np ...@@ -23,7 +23,8 @@ import numpy as np
import pandas as pd import pandas as pd
import losslib import losslib
import datetime import datetime
import FragilityModel
from .fragility_model import FragilityModel
def damage_calculator( def damage_calculator(
...@@ -53,7 +54,7 @@ def damage_calculator( ...@@ -53,7 +54,7 @@ def damage_calculator(
# Read inputs. # Read inputs.
gm_field = np.loadtxt(gm_field_filepath, delimiter=",", skiprows=1) gm_field = np.loadtxt(gm_field_filepath, delimiter=",", skiprows=1)
exposure = pd.read_csv(exposure_filepath) exposure = pd.read_csv(exposure_filepath)
fragility_model = FragilityModel.FragilityModel( fragility_model = FragilityModel(
fragility_filepath, fragility_filepath,
gm_field_filepath, gm_field_filepath,
intensity_measure_map_filepath, intensity_measure_map_filepath,
......
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