Changeset c4d6900 in sasview for park_integration/Loader.py
- Timestamp:
- Oct 27, 2010 2:07:46 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:
- b0ab6cb
- Parents:
- 7406040
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
park_integration/Loader.py
r89f3b66 rc4d6900 3 3 #import string 4 4 import numpy 5 5 6 class Load: 6 7 """ … … 8 9 """ 9 10 10 def _ init_(self, x=None, y=None, dx=None, dy=None):11 def __init__(self, x=None, y=None, dx=None, dy=None): 11 12 # variable to store loaded values 12 13 self.x = x … … 18 19 def set_filename(self, path=None): 19 20 """ 20 Store path into a variable.If the user doesn't give a path as a parameter a pop-up 21 Store path into a variable.If the user doesn't give 22 a path as a parameter a pop-up 21 23 window appears to select the file. 22 24 … … 53 55 except: 54 56 print "READ ERROR", line 55 56 57 57 # Sanity check 58 58 if not len(self.x) == len(self.dx):
Note: See TracChangeset
for help on using the changeset viewer.