Ignore:
Timestamp:
Feb 2, 2011 5:53:14 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:
35f2f49
Parents:
6d3d5ff
Message:

working on save state fitting

File:
1 edited

Legend:

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

    rcab076b rc8deee5  
    112112        #Create a reader for fit page's state 
    113113        self.state_reader = None  
     114        self._extensions = '.fitv' 
    114115        self.temp_state = [] 
    115116        self.state_index = 0 
     
    246247        #Create reader when fitting panel are created 
    247248        self.state_reader = Reader(self.set_state)    
     249        
    248250        #append that reader to list of available reader  
    249251        loader = Loader() 
     
    281283            wx.PostEvent(self.parent, NewPlotEvent(plot=data,  
    282284                                                   title=str(data.title))) 
     285    
    283286             
    284287    def set_state(self, state=None, datainfo=None, format=None): 
     
    300303        self.sfile_ext = format 
    301304 
    302     def  on_set_state_helper(self,event=None): 
     305    def on_set_state_helper(self,event=None): 
    303306        """ 
    304307        Set_state_helper. This actually sets state after plotting data from state file. 
Note: See TracChangeset for help on using the changeset viewer.