Changeset eb06cbe in sasview
- Timestamp:
- May 22, 2008 11:39:38 AM (17 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:
- 43c0a8e
- Parents:
- e94d1d3
- Location:
- park_integration/test
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
park_integration/test/FittingModule.py
re94d1d3 reb06cbe 27 27 28 28 def get_model(self): 29 """ Return the model""" 29 30 return self.model 30 31 … … 33 34 return self.dList 34 35 35 def delete_data(self,data):36 def remove_data(self,data): 36 37 """ 37 38 Remove one element from the list … … 53 54 #list of models parameters 54 55 self.parameters=[] 55 self.contraint =None56 self. residuals=[]56 57 self.constraint =None 57 58 self.fitType =None 58 59 -
park_integration/test/Loader.py
r4a0536a reb06cbe 13 13 self.dx = dx 14 14 self.dy = dy 15 self.filename =None15 self.filename = None 16 16 17 17 def set_filename(self,path=None): … … 21 21 @param path: the path given by the user 22 22 """ 23 if path == None:24 dlg = wx.FileDialog(self, "Choose a file", os.getcwd(), "", "*.txt", wx.OPEN)25 if dlg.ShowModal() == wx.ID_OK:26 path = dlg.GetPath()27 dlg.Destroy()28 23 self.filename = path 29 30 24 25 31 26 def get_filename(self): 32 27 """ return the file's path""" 33 28 return self.filename 29 34 30 def set_values(self): 35 31 """ Store the values loaded from file in local variables """ … … 63 59 raise ValueError, "y and dy have different length" 64 60 65 66 61 67 62 def get_values(self):
Note: See TracChangeset
for help on using the changeset viewer.