From dedb13016375d75d041ba0e1b9f14e9c4a178950 Mon Sep 17 00:00:00 2001 From: Dominik Demuth Date: Tue, 19 Sep 2023 12:35:24 +0200 Subject: [PATCH] make final fit parameter values --- src/nmreval/fit/parameter.py | 3 --- src/nmreval/fit/result.py | 2 -- 2 files changed, 5 deletions(-) diff --git a/src/nmreval/fit/parameter.py b/src/nmreval/fit/parameter.py index 3c24851..6db56a3 100644 --- a/src/nmreval/fit/parameter.py +++ b/src/nmreval/fit/parameter.py @@ -60,9 +60,6 @@ class Parameters(dict): self.update_namespace() def replace_parameter(self, key_out: str, key_in: str, parameter: Parameter): - # print('replace par', key_out, key_in, parameter) - # print('name', parameter.name) - self.add_parameter(key_in, parameter) for k, v in self._mapping.items(): if v == key_out: diff --git a/src/nmreval/fit/result.py b/src/nmreval/fit/result.py index 82f7531..b460ad8 100644 --- a/src/nmreval/fit/result.py +++ b/src/nmreval/fit/result.py @@ -196,8 +196,6 @@ class FitResult(Points): if modelname[0] == '(' and modelname[-1] == ')': modelname = modelname[1:-1] - print(parameter_dic) - return parameter_dic, modelname @property