CEA-MetroCarac / fitspy

Generic tool dedicated to fit spectra in python
GNU General Public License v3.0
5 stars 0 forks source link

Bug related to topview Parameters #12

Closed h0anle closed 1 week ago

h0anle commented 6 months ago

Steps to reproduce the bug:

- Load a fitted model which compose of some peak_models (JSON file)
- Apply the loaded model to a spectrum.
- Open "Parameter" and delete one or more 'peak_model'.
- Back to the GUI and apply the 'loaded model' again to the spectrum -> BUG 

==> The parameters do not show the peak parameters correctly. This is because the length of the 'peak_models' and 'peak_labels' lists is now different.

patquem commented 6 months ago

Hi @h0anle, This issue has been fixed in 2bd4e0a39fefc29ba11dbbe6983ef7b314c03382