Changeset 76dab10 in sasview for sansview


Ignore:
Timestamp:
Mar 5, 2009 10:48:08 PM (16 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
a38c284
Parents:
1fbb343
Message:

sansview: changed my mind. The fix would have created problems when multiple fit panels are instantiated at the same time. Other considerations apply too.

Location:
sansview/perspectives/fitting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitpage1D.py

    r1fbb343 r76dab10  
    3636            Initialization of the Panel 
    3737        """ 
     38        #TODO: remove this once the inheritence is cleaned up 
     39        ## Data member to store the dispersion object created 
     40        self._disp_obj_dict = {} 
     41 
    3842        #Data used for fitting  
    3943        self.data = data 
  • sansview/perspectives/fitting/modelpage.py

    r1fbb343 r76dab10  
    2929    name="" 
    3030     
    31     ## Data member to store the dispersion object created 
    32     _disp_obj_dict = {} 
    33      
    3431    def __init__(self, parent,model,name, *args, **kwargs): 
    3532        wx.ScrolledWindow.__init__(self, parent, *args, **kwargs) 
     
    4037        self.model=model 
    4138         
     39        ## Data member to store the dispersion object created 
     40        self._disp_obj_dict = {} 
     41 
    4242        #list of dispersion paramaters 
    4343        self.disp_list=[] 
Note: See TracChangeset for help on using the changeset viewer.