Changeset a6a7e8a in sasview for park_integration/Fitting.py


Ignore:
Timestamp:
Jul 31, 2009 7:22:29 PM (15 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:
6dc9ad8
Parents:
dce738a
Message:

Let fit_thread handle the fit error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • park_integration/Fitting.py

    r4bd557d ra6a7e8a  
    5353    def fit(self,handler=None, curr_thread=None): 
    5454        """Perform the fit """ 
    55      
    56         return self._engine.fit(handler, curr_thread= curr_thread) 
    57      
     55        try: 
     56            return self._engine.fit(handler, curr_thread= curr_thread) 
     57        except: 
     58            #Let fit_thread handle the fit error 
     59            raise 
    5860     
    5961    def set_model(self,model,Uid,pars=[]): 
Note: See TracChangeset for help on using the changeset viewer.