Changeset 202a7dc3 in sasview for sansview/perspectives/fitting/fit_thread.py
- Timestamp:
- Feb 17, 2009 10:15:53 AM (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:
- 2cd9153
- Parents:
- ef628a1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fit_thread.py
rf343069 r202a7dc3 133 133 self.done= False 134 134 wx.PostEvent(self.parent, StatusEvent(status=\ 135 "Start the computation %g " % self.starttime,curr_thread=self,type="start"))135 "Start the computation ",curr_thread=self,type="start")) 136 136 def isquit(self): 137 137 try: … … 148 148 elapsed = time.time()-self.starttime 149 149 wx.PostEvent(self.parent, StatusEvent(status="Computing \ 150 ... %g sec" % elapsed,curr_thread=self,type="update"))150 ... " ,curr_thread=self,type="update")) 151 151 152 152 def compute(self): … … 154 154 self.starttime = time.time() 155 155 wx.PostEvent(self.parent, StatusEvent(status=\ 156 "Setting the fit Engine %g " % self.starttime,curr_thread=self,type="progress"))156 "Setting the fit Engine ...",curr_thread=self,type="progress")) 157 157 handler= ConsoleUpdate(parent= self.parent,improvement_delta=0.1) 158 158 result = self.fitter.fit(handler= handler)
Note: See TracChangeset
for help on using the changeset viewer.