forked from IPKM/nmreval
fix parameter setting after fitting multiple models
This commit is contained in:
parent
d2e63a5ee3
commit
311157a01a
@ -465,9 +465,9 @@ class QFitDialog(QtWidgets.QWidget, Ui_FitDialog):
|
|||||||
# which data uses which model
|
# which data uses which model
|
||||||
data = self.data_table.collect_data(default=self.default_combobox.currentData())
|
data = self.data_table.collect_data(default=self.default_combobox.currentData())
|
||||||
|
|
||||||
glob_fit_parameter = []
|
|
||||||
|
|
||||||
for fitted_model, fitted_data in data.items():
|
for fitted_model, fitted_data in data.items():
|
||||||
|
glob_fit_parameter = []
|
||||||
|
|
||||||
for fit_id, fit_curve in parameter.items():
|
for fit_id, fit_curve in parameter.items():
|
||||||
if fit_id in fitted_data:
|
if fit_id in fitted_data:
|
||||||
fit_parameter = list(fit_curve.parameter.values())
|
fit_parameter = list(fit_curve.parameter.values())
|
||||||
|
Loading…
Reference in New Issue
Block a user