Changeset 29a90b0 in sasview
- Timestamp:
- Aug 22, 2011 10:37:27 AM (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:
- eaa7162
- Parents:
- 50f4401
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/slit_length_calculator_panel.py
r7d45a56 r29a90b0 189 189 self.reader = DataReader(path=path, 190 190 completefn=self.complete_loading, 191 updatefn= None)191 updatefn=self.load_update) 192 192 self.reader.queue() 193 self.load_update() 193 194 except: 194 195 if self.parent.parent is None: … … 198 199 StatusEvent(status=msg, type='stop')) 199 200 return 201 202 def load_update(self): 203 """ 204 print update on the status bar 205 """ 206 if self.parent.parent is None: 207 return 208 if self.reader.isrunning(): 209 type = "progress" 210 else: 211 type = "stop" 212 wx.PostEvent(self.parent.parent, StatusEvent(status="", 213 type=type)) 200 214 201 215 def complete_loading(self, data=None, filename=''):
Note: See TracChangeset
for help on using the changeset viewer.