Skip to content

Commit e2ec2f2

Browse files
Remove outdated load_data function call from example
1 parent aa6e209 commit e2ec2f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/covasim_/vaccinating_elderly/causal_test_vaccine.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def experimental_causal_test_vaccinate_elderly(runs_per_test_per_config: int = 3
7070
'max_doses': {}
7171
}
7272

73-
causal_test_engine = CausalTestEngine(causal_specification, data_collector)
73+
causal_test_engine = CausalTestEngine(causal_specification, data_collector, index_col=0)
7474
for outcome_variable, expected_effect in expected_outcome_effects.items():
7575
causal_test_case = CausalTestCase(control_input_configuration={vaccine: 0},
7676
expected_causal_effect=expected_effect,
@@ -81,7 +81,6 @@ def experimental_causal_test_vaccinate_elderly(runs_per_test_per_config: int = 3
8181

8282

8383
# 8. Obtain the minimal adjustment set for the causal test case from the causal DAG
84-
causal_test_engine.load_data(index_col=0)
8584
minimal_adjustment_set = causal_test_engine.identification(causal_test_case)
8685

8786
# 9. Build statistical model

0 commit comments

Comments
 (0)