Skip to content

Commit

Permalink
Update test_seir.py
Browse files Browse the repository at this point in the history
  • Loading branch information
emprzy committed Dec 18, 2024
1 parent a5360ad commit f60b62d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions flepimop/gempyor_pkg/tests/seir/test_seir.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@
os.chdir(os.path.dirname(__file__))

def test_neg_params():

config.set_file(f"{DATA_DIR}/config.yml")
modinf = model_info.ModelInfo(
config=config,
nslots=1,
seir_modifiers_scenario="None",
write_csv=False,
)

modinf = model_info.ModelInfo()

parameter_names = modinf.parameters.pnames
dates = modinf.dates
subpop_names = modinf.subpop_pop
Expand Down Expand Up @@ -56,6 +57,7 @@ def test_neg_params():


def test_check_values():
# I think line 61 could be deleted...redundant b/c this also occurs outside func def
os.chdir(os.path.dirname(__file__))
config.set_file(f"{DATA_DIR}/config.yml")

Expand Down

0 comments on commit f60b62d

Please sign in to comment.