Changeset f4a1433 in sasview for src/sas/sasgui/perspectives/fitting/fit_thread.py
- Timestamp:
- Oct 24, 2017 2:44:26 AM (7 years ago)
- 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:
- fca1f50, d6b234b
- Parents:
- 16afe01 (diff), 5582b078 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/fit_thread.py
rc416a17 rf4a1433 28 28 worktime=0.03, 29 29 reset_flag=False): 30 CalcThread.__init__(self, 31 completefn, 32 updatefn, 33 yieldtime, 34 worktime) 30 CalcThread.__init__(self, completefn, updatefn, yieldtime, worktime) 35 31 self.handler = handler 36 32 self.fitter = fn … … 92 88 # Real code should not print, but this is an example... 93 89 #print "keyboard exception" 94 #Stop on exception during fitting. Todo: need to put 90 #Stop on exception during fitting. Todo: need to put 95 91 #some mssg and reset progress bar. 96 92 … … 99 95 if self.handler is not None: 100 96 self.handler.stop(msg=msg) 101 except: 97 except: # catch-all: show every exception which stops the thread 102 98 import traceback 103 99 if self.handler is not None:
Note: See TracChangeset
for help on using the changeset viewer.