- Timestamp:
- Apr 15, 2009 6:14:29 PM (16 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:
- 06b59fe
- Parents:
- 298b762
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitting.py
r69bee6d rd7e391e 463 463 except: 464 464 msg= "%s error: %s" % (engineType,sys.exc_value) 465 wx.PostEvent(self.parent, StatusEvent(status= msg ))465 wx.PostEvent(self.parent, StatusEvent(status= msg ,type="stop")) 466 466 return 467 467 … … 549 549 except: 550 550 msg= title +" error: %s" % sys.exc_value 551 wx.PostEvent(self.parent, StatusEvent(status= msg 551 wx.PostEvent(self.parent, StatusEvent(status= msg, type="stop")) 552 552 return 553 553 … … 595 595 wx.PostEvent(self.parent, StatusEvent(status="Page was already Created")) 596 596 except: 597 raise 598 #wx.PostEvent(self.parent, StatusEvent(status="Creating Fit page: %s"\ 599 #%sys.exc_value)) 600 #return 597 wx.PostEvent(self.parent, StatusEvent(status="Creating Fit page: %s"\ 598 %sys.exc_value)) 599 return 601 600 602 601 def _single_fit_completed(self,result,pars,cpage, elapsed=None): … … 638 637 639 638 except: 640 msg= "Single Fit completed but Following error occurred: "641 wx.PostEvent(self.parent, StatusEvent(status= "%s %s" % (msg, sys.exc_value)))639 msg= "Single Fit completed but Following error occurred:%s"% sys.exc_value 640 wx.PostEvent(self.parent, StatusEvent(status=msg,type="stop")) 642 641 return 643 642 … … 694 693 695 694 except: 696 msg= "Simultaneous Fit completed but Following error occurred: " 697 wx.PostEvent(self.parent, StatusEvent(status="%s%s" %(msg,sys.exc_value))) 695 msg= "Simultaneous Fit completed" 696 msg +=" but Following error occurred:%s"%sys.exc_value 697 wx.PostEvent(self.parent, StatusEvent(status=msg,type="stop")) 698 698 return 699 699
Note: See TracChangeset
for help on using the changeset viewer.