Skip to content

Commit

Permalink
Merge pull request #185 from jakobrunge/developer
Browse files Browse the repository at this point in the history
Developer
  • Loading branch information
jakobrunge authored Mar 14, 2022
2 parents 9911777 + 715bbb3 commit 7546626
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def run(self):
# Run the setup
setup(
name="tigramite",
version="5.0.0.4",
version="5.0.0.5",
packages=["tigramite", "tigramite.independence_tests", "tigramite.toymodels"],
license="GNU General Public License v3.0",
description="Tigramite causal discovery for time series",
Expand Down
3 changes: 3 additions & 0 deletions tigramite/causal_effects.py
Original file line number Diff line number Diff line change
Expand Up @@ -1826,6 +1826,9 @@ def fit_total_effect(self,
if self._check_validity(adjustment_set) is False:
raise ValueError("Chosen adjustment_set is not valid.")

if adjustment_set is False:
raise ValueError("Causal effect not identifiable via adjustment.")

self.adjustment_set = adjustment_set

# Fit model of Y on X and Z (and conditions)
Expand Down

0 comments on commit 7546626

Please sign in to comment.