summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2021-03-01 14:07:10 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2021-03-01 14:07:10 +0100
commit7a24fa3f80ffab54488b2f01c31a500d79519f94 (patch)
tree7898c9cd20fb822041c29a48a7ee96634683248d /lib
parentd7d1110a5bb908632733ca8268327f23732f26a8 (diff)
Set DFATOOL_NO_PARAM to disable parameter fitting
Diffstat (limited to 'lib')
-rw-r--r--lib/model.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/model.py b/lib/model.py
index 5ee9e4f..5093bae 100644
--- a/lib/model.py
+++ b/lib/model.py
@@ -553,6 +553,8 @@ class ModelAttribute:
x.fit(self.by_param)
if x.fit_success:
param_model = (x, df.AnalyticInfo(fit_result, x))
+ elif os.getenv("DFATOOL_NO_PARAM"):
+ pass
elif len(fit_result.keys()):
x = df.analytic.function_powerset(
fit_result, self.param_names, self.arg_count