Changeset 8b1d759 in sasview


Ignore:
Timestamp:
Apr 9, 2012 3:18:27 PM (12 years ago)
Author:
Jae Cho <jhjcho@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
c7e12b6
Parents:
0aca693
Message:

this might fix the problems with crash

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/fitting.py

    r1ac202f r8b1d759  
    15971597                    # Make sure we got all results  
    15981598                    #(CallAfter is important to MAC) 
    1599                     wx.CallAfter(cpage.onsetValues, res.fitness, res.param_list,  
    1600                              pvec, stderr) 
    1601                     index += 1 
    1602                     cpage._on_fit_complete() 
     1599                    try: 
     1600                        #if res != None: 
     1601                        wx.CallAfter(cpage.onsetValues, res.fitness, res.param_list,  
     1602                                     pvec, stderr) 
     1603                        index += 1 
     1604                        wx.CallAfter(cpage._on_fit_complete) 
     1605                    except: 
     1606                        msg = "Singular point: Fitting Error occured." 
     1607                        wx.PostEvent(self.parent, StatusEvent(status=msg, info="error", 
     1608                                                  type="stop")) 
     1609                     
    16031610        except: 
    16041611            msg = "Fit completed but Following" 
Note: See TracChangeset for help on using the changeset viewer.