Ignore:
Timestamp:
Sep 23, 2011 11:44:39 AM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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:
d03a356
Parents:
22ce7e2
Message:

fixed group_id related problem when set data in fitpage and added feature that send multiple data sets on import

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/fitproblem.py

    r1b14795 r5e48acb  
    117117        Return the caption of the page associated with object 
    118118        """ 
    119          
     119    def set_graph_id(self, id): 
     120        """ 
     121        Set graph id (from data_group_id at the time the graph produced)  
     122        """ 
     123    def get_graph_id(self):  
     124        """ 
     125        Get graph_id 
     126        """   
    120127    
    121128class FitProblemDictionary(FitProblemComponent, dict): 
     
    136143        self.qmin = None 
    137144        self.qmax = None 
     145        self.graph_id = None 
    138146        self._smear_on = False 
    139147        self.scheduled = 0 
     
    399407        return self.result 
    400408     
    401  
     409    def set_graph_id(self, id): 
     410        """ 
     411        Set graph id (from data_group_id at the time the graph produced)  
     412        """ 
     413        self.graph_id = id 
     414         
     415    def get_graph_id(self):  
     416        """ 
     417        Get graph_id 
     418        """   
     419        return self.graph_id 
     420     
     421     
    402422class FitProblem(FitProblemComponent): 
    403423    """   
     
    617637        return self.fit_tab_caption 
    618638     
    619    
     639    def set_graph_id(self, id): 
     640        """ 
     641        Set graph id (from data_group_id at the time the graph produced)  
     642        """ 
     643        self.graph_id = id 
     644         
     645    def get_graph_id(self):  
     646        """ 
     647        Get graph_id 
     648        """   
     649        return self.graph_id 
    620650    
Note: See TracChangeset for help on using the changeset viewer.