Changeset 1fbb343 in sasview
- Timestamp:
- Mar 5, 2009 10:26:29 PM (16 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:
- 76dab10
- Parents:
- 07a93a1
- Location:
- sansview/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage1D.py
r07a93a1 r1fbb343 15 15 #TODO: FitPage1D inherits from ModelPage but doesn't call its __init__ method! 16 16 #TODO: refactor this class to have an __init__ that deals with data only, then calls a UI builder method. 17 17 18 class FitPage1D(ModelPage): 18 19 """ … … 41 42 #fit page manager 42 43 self.manager = None 43 44 45 # Should not have to write the following line if the inheritance46 # was coded properly...47 #TODO: get rid of this line once the class is refactored48 self._disp_obj_dict = {}49 50 51 44 #Store the parent of this panel parent 52 45 # For this application fitpanel is the parent -
sansview/perspectives/fitting/modelpage.py
r07a93a1 r1fbb343 28 28 window_caption = "Fit Page" 29 29 name="" 30 31 ## Data member to store the dispersion object created 32 _disp_obj_dict = {} 33 30 34 def __init__(self, parent,model,name, *args, **kwargs): 31 35 wx.ScrolledWindow.__init__(self, parent, *args, **kwargs) … … 35 39 # model on which the fit would be performed 36 40 self.model=model 37 # Data member to store the dispersion object created 38 self._disp_obj_dict = {} 41 39 42 #list of dispersion paramaters 40 43 self.disp_list=[] … … 348 351 if str(v)=="MyModel": 349 352 # Remove the option until the rest of the code is ready for it 350 #self.disp_box.Insert("Select customized Model",id)353 self.disp_box.Insert("Select customized Model",id) 351 354 pass 352 355 else:
Note: See TracChangeset
for help on using the changeset viewer.