From 312a3ae0ba33914f25b2a513754aeb86f6595bdb Mon Sep 17 00:00:00 2001 From: Nicolas Barthes <nicolas.barthes@cnrs.fr> Date: Wed, 4 Dec 2024 11:59:35 +0100 Subject: [PATCH] update regress.py for server correct display --- src/utils/regress.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/utils/regress.py b/src/utils/regress.py index ab07cfc..2a8ec27 100644 --- a/src/utils/regress.py +++ b/src/utils/regress.py @@ -173,7 +173,10 @@ class TpeIpls(Regmodel): ### Preprocessing x0 = [self._xc, self._xt] - x1 = [eval(str(params['normalization'])+"(x0[i])") for i in range(2)] + # x1 = [eval(str(params['normalization'])+"(x0[i])") for i in range(2)] + x1 = [] + x1.append(eval(str(params['normalization'])+'(x0[0])')) + x1.append(eval(str(params['normalization'])+'(x0[1])')) a, b, c = params['deriv'], params['polyorder'], params['window_length'] if a > b or b > c: -- GitLab