Changeset 8d82a1a in sasview for sansview/perspectives
- Timestamp:
- Jun 9, 2011 2:19:05 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:
- 59a59fa
- Parents:
- c22305e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/console.py
r40953a9 r8d82a1a 7 7 import park 8 8 from park.fitresult import FitHandler 9 9 IS_MAC = True 10 if sys.platform.count("win32") > 0: 11 IS_MAC = False 10 12 class ConsoleUpdate(FitHandler): 11 13 """ … … 116 118 """ 117 119 self.elapsed_time = time.time() - self.elapsed_time 118 msg = " Updating fit ...\n result:\n %s \n"%self.result.__str__() 120 if IS_MAC: 121 msg = '' 122 else: 123 msg = " Updating fit ...\n result:\n %s \n"%self.result.__str__() 119 124 wx.PostEvent(self.parent, StatusEvent(status=msg, info="info", 120 125 type="progress"))
Note: See TracChangeset
for help on using the changeset viewer.