Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Developer #185

Merged
merged 2 commits into from
Mar 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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