Skip to content

Commit

Permalink
remove placeholder parameters (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamWitty authored Nov 1, 2023
1 parent 99ab914 commit c5eaaac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pyciemss/mira_integration/compiled_dynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ def _compile_param_values_mira(
for param_info in src.parameters.values():
param_name = get_name(param_info)

if param_info.placeholder:
continue

param_dist = getattr(param_info, "distribution", None)
if param_dist is None:
param_value = param_info.value
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
]

STOCKFLOW_URLS = [
# "https://raw.githubusercontent.com/DARPA-ASKEM/Model-Representations/main/stockflow/examples/sir.json"
"https://raw.githubusercontent.com/DARPA-ASKEM/Model-Representations/main/stockflow/examples/sir.json"
]

MODEL_URLS = PETRI_URLS + REGNET_URLS + STOCKFLOW_URLS
Expand Down

0 comments on commit c5eaaac

Please sign in to comment.