Skip to content

Commit f38c6ee

Browse files
committed
Removed the getters in causal_test_case.py and also removed their unit tests in test_causal_test_case.py
1 parent 3137eaf commit f38c6ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/poisson-line-process/example_poisson_process.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ def causal_test_intensity_num_shapes(
9090
# 8. Set up an estimator
9191
data = pd.read_csv(observational_data_path)
9292

93-
treatment = causal_test_case.get_treatment_variable()
94-
outcome = causal_test_case.get_outcome_variable()
93+
treatment = causal_test_case.treatment_variable.name
94+
outcome = causal_test_case.outcome_variable.name
9595

9696
estimator = None
9797
if empirical:

0 commit comments

Comments
 (0)