Changeset f7f6886 in sasview for fittingview/src
- Timestamp:
- Sep 8, 2011 3:16:54 PM (13 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:
- 8dcc4539
- Parents:
- 2e08a9f
- Location:
- fittingview/src/sans/perspectives/fitting
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/fit_thread.py
r49c69de rf7f6886 88 88 # self.handler.error(msg=msg) 89 89 except: 90 raise 91 #if self.handler is not None: 92 # self.handler.error(msg=str(sys.exc_value)) 90 if self.handler is not None: 91 self.handler.error(msg=str(sys.exc_value)) 93 92 94 93 -
fittingview/src/sans/perspectives/fitting/fitting.py
r2e08a9f rf7f6886 711 711 value.clear_model_param() 712 712 except: 713 raise714 713 msg= "%s error: %s" % (engineType, sys.exc_value) 715 714 wx.PostEvent(self.parent, StatusEvent(status=msg, info="error", -
fittingview/src/sans/perspectives/fitting/utils.py
rf7ef313 rf7f6886 22 22 weight = dy_data 23 23 elif flag == 2: 24 self.weight = numpy.sqrt(numpy.abs(data))24 weight = numpy.sqrt(numpy.abs(data)) 25 25 elif flag == 3: 26 26 weight = numpy.abs(data)
Note: See TracChangeset
for help on using the changeset viewer.