Ignore:
Timestamp:
May 3, 2017 5:56:24 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
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
Children:
56b22f9
Parents:
d48cc19
Message:

Unit tests for GUI fitting: SASVIEW-507

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/FittingWidget.py

    rd48cc19 r02ddfb4  
    456456        calc_thread = threads.deferToThread(calc_fit.compute) 
    457457        calc_thread.addCallback(self.fitComplete) 
     458        calc_thread.addErrback(self.fitFailed) 
    458459 
    459460        #disable the Fit button 
     
    466467        """ 
    467468        print "UPDATE FIT" 
     469        pass 
     470 
     471    def fitFailed(self, reason): 
     472        """ 
     473        """ 
     474        print "FIT FAILED: ", reason 
    468475        pass 
    469476 
Note: See TracChangeset for help on using the changeset viewer.