Changeset acfff8b in sasview for park_integration
- Timestamp:
- May 22, 2011 10:49:16 AM (14 years ago)
- 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:
- 247873a
- Parents:
- 66141a0
- Location:
- park_integration
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
park_integration/AbstractFitEngine.py
r1ab9dc1 racfff8b 474 474 self.curr_thread.isquit() 475 475 except: 476 msg = "Fitting Aborted... Please ignore the '" 477 msg += "Functor Error' recoded in the log file." 476 msg = "Fitting: Terminated... Note: Forcing to stop " 477 msg += "fitting may cause a 'Functor error message' " 478 msg += "being recorded in the log file....." 478 479 self.handler.error(msg) 479 480 raise -
park_integration/ScipyFitting.py
r93de635d racfff8b 144 144 full_output=1, 145 145 warning=True) 146 except: 147 if hasattr(sys, 'last_type') and sys.last_type == FitAbort: 146 except KeyboardInterrupt: 147 msg = "Fitting: Terminated!!!" 148 handler.error(msg) 149 raise KeyboardInterrupt, msg #<= more stable 150 #less stable below 151 """ 152 if hasattr(sys, 'last_type') and sys.last_type == KeyboardInterrupt: 148 153 if handler is not None: 149 msg = "Fit Stop!"150 #self.handler.error(msg)154 msg = "Fitting: Terminated!!!" 155 handler.error(msg) 151 156 result = handler.get_result() 152 157 return result 153 158 else: 154 159 raise 155 160 """ 156 161 chisqr = functor.chisq() 157 162 if cov_x is not None and numpy.isfinite(cov_x).all():
Note: See TracChangeset
for help on using the changeset viewer.