We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c1b1cb commit 694406bCopy full SHA for 694406b
execution_engine/execution_graph/graph.py
@@ -38,13 +38,15 @@ def from_criterion_combination(
38
"""
39
Create a graph from a population and intervention criterion combination.
40
41
+ from execution_engine.omop.cohort import PopulationInterventionPair
42
43
p = cls.combination_to_expression(population, CohortCategory.POPULATION)
44
i = cls.combination_to_expression(intervention, CohortCategory.INTERVENTION)
45
+ i_filtered = PopulationInterventionPair.filter_symbols(i, p)
46
47
pi = logic.LeftDependentToggle(
48
p,
- i,
49
+ i_filtered,
50
category=CohortCategory.POPULATION_INTERVENTION,
51
)
52
0 commit comments