Opened 8 years ago

Closed 8 years ago

#320 closed defect (fixed)

Error boxes in Fit panel appear and disappear randomly

Reported by: gonzalezm Owned by: gonzalezm
Priority: major Milestone: SasView 3.1.0
Component: SasView Keywords:
Cc: Work Package: SasView Bug Fixing


When fixing/unfixing some of the model parameters in the FitPage? and then fitting, the error boxes seem to appear and disappear in a random way. Fixing a parameter and then fitting the error box of this parameter disappears (which is right), but when the parameter is unfixed the error box does not always reappears. And at the same time the error boxes of some other parameters (which have not been fixed) disappear as well. The SphereModel? seems quite sensible to this problem (but also observed with other models).

Change History (3)

comment:1 Changed 8 years ago by butler

  • Milestone changed from SasView Next Release +1 to SasView 3.1

comment:2 Changed 8 years ago by gonzalezm

Finally it turns out that this is not really a GUI problem. The reason for the strange behaviour is that in the function onsetValues the covariance matrix returned by the fitting motor contains occasionally 'nan' values. Whenever this happens, the interface hides the corresponding error box. However the question remains why the fitting motor is behaving in this way, even for simple fits. An easy way to test this is to load the test data file 'sphere_80.txt', select the SphereModel? and try to fit directly the data with all the parameters free. Repeating the fit several times, the parameters having 'nan' errors change continuously.

comment:3 Changed 8 years ago by gonzalezm

  • Resolution set to fixed
  • Status changed from new to closed

NaN errors are now shown in the error box instead of hiding completely the box, so the user can see that there is something potentially wrong with the fit.

Note: See TracTickets for help on using tickets.