Changeset 3bf4a032 in sasview for sansview/perspectives/fitting


Ignore:
Timestamp:
May 24, 2010 5:40:15 PM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
232c3db
Parents:
7f69d4d
Message:

working on save state

File:
1 edited

Legend:

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

    r7f69d4d r3bf4a032  
    108108        self.theory_data = None   
    109109        #Create a reader for fit page's state 
    110         self.state_reader = Reader(self.set_state)    
    111         #append that reader to list of available reader  
    112         loader = Loader() 
    113         loader.associate_file_reader(".fitv", self.state_reader) 
     110        self.state_reader = None  
    114111        # Log startup 
    115112        logging.info("Fitting plug-in started")  
     
    244241        self.parent.Bind(EVT_SLICER_PARS_UPDATE, self._onEVT_SLICER_PANEL) 
    245242        self.parent._mgr.Bind(wx.aui.EVT_AUI_PANE_CLOSE,self._onclearslicer)     
    246  
    247          
     243        #Create reader when fitting panel are created 
     244        self.state_reader = Reader(self.set_state)    
     245        #append that reader to list of available reader  
     246        loader = Loader() 
     247        loader.associate_file_reader(".fitv", self.state_reader) 
    248248        #Send the fitting panel to guiframe 
    249249        self.mypanels.append(self.fit_panel) 
Note: See TracChangeset for help on using the changeset viewer.