Skip to content

Commit

Permalink
undo small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jcblemai committed Apr 30, 2024
1 parent d203142 commit 8792f8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flepimop/gempyor_pkg/src/gempyor/model_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(

# 3. What about subpopulations
spatial_config = config["subpop_setup"]
if "data_path" in config:
if config["data_path"].exists():
raise ValueError("The config has a data_path section. This is no longer supported.")
spatial_base_path = pathlib.Path(spatial_path_prefix)

Expand Down
2 changes: 1 addition & 1 deletion flepimop/gempyor_pkg/tests/seir/test_seir.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ def test_inference_resume():
stoch_traj_flag = True

spatial_config = config["subpop_setup"]
if "data_path" in config:
if config["data_path"].exists():
raise ValueError("The config has a data_path section. This is no longer supported.")
# spatial_base_path = pathlib.Path(config["data_path"].get())
modinf = model_info.ModelInfo(
Expand Down

0 comments on commit 8792f8d

Please sign in to comment.