PEATDB/Ekin/Ekin_main.py
def updateAll(self, d=None):
        """Update all elements to reflect current dataset"""
        if len(self.E.datasets) == 0:
            return
        if d!=None: self.currentdataset.set(d)
        self.update_dataset()
        self.fitframe.setData(self.E, self.currentdataset.get())
        self.fitframe.update()
        #reset the multiple display options when someone selects a dataset
        self.compare_multiple.set(0)
        self.display_all.set(0)
        self.redrawGraph()
        self.updateModeSpecificData()
        if hasattr(self, 'M') and self.M != None:
            self.M.applyCurrent()
            self.M.updateFields(dataset=self.currentdataset.get())
        self.showDatasetsTable()
        return
Update all elements to reflect current dataset
Update all elements to reflect current dataset
Update all elements to reflect current dataset
def updateAll(self, d=None):
        if len(self.E.datasets) == 0:
            return
        if d!=None: self.currentdataset.set(d)
        self.update_dataset()
        self.fitframe.setData(self.E, self.currentdataset.get())
        self.fitframe.update()
        self.compare_multiple.set(0)
        self.display_all.set(0)
        self.redrawGraph()
        self.updateModeSpecificData()
        if hasattr(self, 'M') and self.M != None:
            self.M.applyCurrent()
            self.M.updateFields(dataset=self.currentdataset.get())
        self.showDatasetsTable()
        return
def updateAll ( self , d = None ) : if len ( self . E . datasets ) == 0 : return if d != None : self . currentdataset . set ( d ) self . update_dataset ( ) self . fitframe . setData ( self . E , self . currentdataset . get ( ) ) self . fitframe . update ( ) self . compare_multiple . set ( 0 ) self . display_all . set ( 0 ) self . redrawGraph ( ) self . updateModeSpecificData ( ) if hasattr ( self , 'M' ) and self . M != None : self . M . applyCurrent ( ) self . M . updateFields ( dataset = self . currentdataset . get ( ) ) self . showDatasetsTable ( ) return
Update all elements to reflect current dataset
Update all elements to reflect current dataset
"""Update all elements to reflect current dataset""" #reset the multiple display options when someone selects a dataset
self
d