Skip to content

Commit

Permalink
bug: make iv and dvs obligatory/ add noise only to output
Browse files Browse the repository at this point in the history
  • Loading branch information
younesStrittmatter committed Aug 17, 2023
1 parent 825031b commit 92ccd35
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def experiment_runner(
"""A function which simulates noisy observations."""
x = conditions
if isinstance(x, pd.DataFrame):
x = x.copy()
if not set([el.name for el in args]).issubset(x.columns):
raise Exception(
f"Variables of expression {expression} "
Expand Down

0 comments on commit 92ccd35

Please sign in to comment.