Missing fit stats #181
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ich wollte eben ein paar Datensätze fitten (basic->exponential function, sign=decaying, x0type=rate). Das ging aber leider schief als ich x0 global fitten wollte. Bei individuellen Fits gibts keine Probleme. In beiden Fällen habe ich eine Custom Fit Range gesetzt. Der (globale) Fit läuft an, es erscheint aber keine Fitvorschau. Stattdessen gibts eine Fehlermeldung mit einem KeyError, die mich an issue#150 erinnert.
ErrorLog:
15/12/2023 11:46:14 - INFO - root : Successful fit
15/12/2023 11:46:14 - ERROR - root : Uncaught exception:
Traceback (most recent call last):
File "/tmp/.mount_NMReval15HmZ/usr/src/gui_qt/main/mainwindow.py", line 976, in show_fit_results
self.fitresult_dialog(results)
File "/tmp/.mount_NMReval15HmZ/usr/src/gui_qt/fit/result.py", line 88, in call
self.set_results(results)
File "/tmp/.mount_NMReval15HmZ/usr/src/gui_qt/fit/result.py", line 106, in set_results
self.set_parameter(0)
File "/tmp/.mount_NMReval15HmZ/usr/src/gui_qt/fit/result.py", line 134, in set_parameter
self.show_results(idx)
File "/tmp/.mount_NMReval15HmZ/usr/src/gui_qt/fit/result.py", line 148, in show_results
self.set_statistics(set_id)
File "/tmp/.mount_NMReval15HmZ/usr/src/gui_qt/fit/result.py", line 282, in set_statistics
best_idx = col if best_val > stats[k] else max(0, best_idx)
KeyError: 'AICc'
Originally posted by @saeckech in /IPKM/nmreval/issues/150#issuecomment-1213