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