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 b5a1181 commit 81d43ffCopy full SHA for 81d43ff
causalpy/pymc_experiments.py
@@ -747,4 +747,5 @@ def _get_treatment_effect_coeff(self) -> str:
747
for label in self.labels:
748
if ("group" in label) & (":" not in label):
749
return label
750
- # TODO: raise an exception if we fail to find the coefficient we want
+
751
+ raise NameError("Unable to find coefficient name for the treatment effect")
0 commit comments