Changeset 7dca26e in sasview for calculatorview/perspectives/calculator/load_thread.py
- Timestamp:
- Mar 31, 2010 4:56:54 PM (14 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:
- f338d3b
- Parents:
- 8d97277
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/perspectives/calculator/load_thread.py
r378d2eb r7dca26e 12 12 Load a data given a filename 13 13 """ 14 def __init__(self, path, filename='',completefn=None,14 def __init__(self, path, completefn=None, 15 15 updatefn = None, 16 16 yieldtime = 0.01, … … 21 21 yieldtime, 22 22 worktime) 23 self.filename = filename24 23 self.path = path 25 24 #Instantiate a loader … … 45 44 data = self.loader.load(self.path) 46 45 elapsed = time.time() - self.starttime 47 self.complete(data=data , filename=self.filename)46 self.complete(data=data) 48 47 except KeyboardInterrupt: 49 48 # Thread was interrupted, just proceed and re-raise.
Note: See TracChangeset
for help on using the changeset viewer.