FCS-analysis / PyCorrFit

data analysis and fitting software for fluorescence correlation spectroscopy (FCS)
pycorrfit.craban.de
Other
49 stars 13 forks source link

IndexError when saving a session #154

Closed paulmueller closed 8 years ago

paulmueller commented 8 years ago

save-session-bug

Opening that session (reference 2016-01-19) and saving it results in the error:

Traceback (most recent call last):
  File "pycorrfit/gui/frontend.py", line 1583, in OnSaveSession
    float(corr.fit_results["fit error estimation"][ii]) ])
IndexError: list index out of range
paulmueller commented 8 years ago

@weidemann This should be fixed now in the developmental release: https://ci.appveyor.com/project/paulmueller/pycorrfit/build/1.0.360/job/thou8yijrjx7hwgv/artifacts

@paulmueller This is related to #122 and #124. It is unclear why the number of fitting parameters should not match up with the number of errors for the fitting parameters.

weidemann commented 8 years ago

Happened again after "save as" with a different name that the parent session could not be saved anymore. Maybe coincidence maybe related.

paulmueller commented 8 years ago

I don't understand. Did you use the new build that I linked above?

weidemann commented 8 years ago

probably not. I am using the last official release 0.9.7 for Windows 64 bit

weidemann commented 8 years ago

ok, got it. 0.9.7.dev1 works