Skip to content

Commit

Permalink
Update test_interfaces.py
Browse files Browse the repository at this point in the history
  • Loading branch information
anirban-chaudhuri committed Nov 13, 2024
1 parent d2634ed commit eadbe3e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/test_interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,10 +652,22 @@ def __call__(self, x):
opt_intervention = opt_intervention_temp
if "fixed_static_state_interventions" not in optimize_kwargs:
fixed_static_state_interventions = {}
else:
fixed_static_state_interventions = optimize_kwargs[
"fixed_static_state_interventions"
]
if "fixed_dynamic_parameter_interventions" not in optimize_kwargs:
fixed_dynamic_parameter_interventions = {}
else:
fixed_dynamic_parameter_interventions = optimize_kwargs[
"fixed_dynamic_parameter_interventions"
]
if "fixed_dynamic_state_interventions" not in optimize_kwargs:
fixed_dynamic_state_interventions = {}
else:
fixed_dynamic_state_interventions = optimize_kwargs[
"fixed_dynamic_state_interventions"
]

result_opt = sample(
model_url,
Expand Down

0 comments on commit eadbe3e

Please sign in to comment.