Changeset 1ab9dc1 in sasview for park_integration


Ignore:
Timestamp:
May 20, 2011 8:27:23 PM (14 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:
da96629
Parents:
40953a9
Message:

more stable Fit abort

File:
1 edited

Legend:

Unmodified
Added
Removed
  • park_integration/AbstractFitEngine.py

    r92697e3 r1ab9dc1  
    403403    Exception raise to stop the fit 
    404404    """ 
     405    #pass 
     406    #print"Creating fit abort Exception" 
    405407 
    406408 
     
    472474                    self.curr_thread.isquit() 
    473475                except: 
    474                    self.handler.error("Terminating Fitting;") 
    475                    raise FitAbort,"The LeastSqr Fit: terminated by the user."     
     476                    msg = "Fitting Aborted...  Please ignore the '"  
     477                    msg += "Functor Error' recoded in the log file." 
     478                    self.handler.error(msg) 
     479                    raise 
     480                    #return  
    476481          
    477482        return self.res 
Note: See TracChangeset for help on using the changeset viewer.