Changeset 4e74e13 in sasview
- Timestamp:
- Apr 5, 2010 3:12:33 PM (15 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:
- 45802d4
- Parents:
- a618972
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
invariantview/perspectives/invariant/invariant_panel.py
rd0cc0bbc r4e74e13 116 116 self.hint_msg_txt.SetForegroundColour("black") 117 117 self.hint_msg_txt.SetLabel(msg) 118 wx.PostEvent(self.parent, StatusEvent(status=msg))119 118 self.data_name_boxsizer.Layout() 120 119 … … 191 190 self.volume_err_tcl.SetValue(format_number(dv)) 192 191 except: 193 raise194 192 msg= "Error occurred computing volume fraction: %s"%sys.exc_value 195 193 wx.PostEvent(self.parent, StatusEvent(status= msg, type="stop")) … … 206 204 self.surface_err_tcl.SetValue(format_number(ds)) 207 205 except: 208 msg = "Error occurred computing specific surface: %s"%sys.exc_value206 msg = "Error occurred computing specific surface: %s"%sys.exc_value 209 207 wx.PostEvent(self.parent, StatusEvent(status= msg, type="stop")) 210 208 … … 404 402 #compute surface and set value to txtcrtl 405 403 except: 406 msg = "Error occurred computing invariant: %s"%sys.exc_value407 wx.PostEvent(self.parent, StatusEvent(status= 404 msg = "Error occurred computing invariant: %s"%sys.exc_value 405 wx.PostEvent(self.parent, StatusEvent(status=msg)) 408 406 try: 409 407 self.get_surface(inv=inv, contrast=contrast, porod_const=porod_const, 410 408 extrapolation=extrapolation) 411 409 except: 412 msg = "Error occurred computing invariant: %s"%sys.exc_value410 msg = "Error occurred computing invariant: %s"%sys.exc_value 413 411 wx.PostEvent(self.parent, StatusEvent(status= msg)) 414 412 … … 427 425 self.background_tcl.SetValue(str(BACKGROUND)) 428 426 self.scale_tcl.SetValue(str(SCALE)) 429 self.contrast_tcl.SetValue(str(CONTRAST)) 427 self.contrast_tcl.SetValue(str(CONTRAST)) 428 self.porod_constant_tcl.SetValue('') 430 429 self.npts_low_tcl.SetValue(str(NPTS)) 431 430 self.enable_low_cbox.SetValue(False)
Note: See TracChangeset
for help on using the changeset viewer.