From 92ccd35b3087280c94e6a88e8671164cbc8682be Mon Sep 17 00:00:00 2001 From: Younes Strittmatter Date: Thu, 17 Aug 2023 15:56:42 -0400 Subject: [PATCH] bug: make iv and dvs obligatory/ add noise only to output --- .../experiment_runner/synthetic/abstract/equation/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/autora/experiment_runner/synthetic/abstract/equation/__init__.py b/src/autora/experiment_runner/synthetic/abstract/equation/__init__.py index 68231c0..4f190bc 100644 --- a/src/autora/experiment_runner/synthetic/abstract/equation/__init__.py +++ b/src/autora/experiment_runner/synthetic/abstract/equation/__init__.py @@ -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} "