PEATDB/Ekin/Ekin_main.py
def updateMode(self, setmode=1):
        """Update the mode, change the selection of fitters available"""
        current = self.currentdataset.get()
        # Usually only update currentmode when menu changed
        if setmode == 1 or not self.E.currentmode:
            self.E.currentmode = self.modes[self.mode_var.get()]
            self.fitframe.setMode(self.E.currentmode)

        if current == None:
            return
        self.clear_modespecific_frame()
        if self.E.currentmode == 'NMR titration':
            self.do_titration_stuff()
        return
Update the mode, change the selection of fitters available
Update the mode, change the selection of fitters available
Update the mode change the selection of fitters available
def updateMode(self, setmode=1):
        current = self.currentdataset.get()
        if setmode == 1 or not self.E.currentmode:
            self.E.currentmode = self.modes[self.mode_var.get()]
            self.fitframe.setMode(self.E.currentmode)
        if current == None:
            return
        self.clear_modespecific_frame()
        if self.E.currentmode == 'NMR titration':
            self.do_titration_stuff()
        return
def updateMode ( self , setmode = 1 ) : current = self . currentdataset . get ( ) if setmode == 1 or not self . E . currentmode : self . E . currentmode = self . modes [ self . mode_var . get ( ) ] self . fitframe . setMode ( self . E . currentmode ) if current == None : return self . clear_modespecific_frame ( ) if self . E . currentmode == 'NMR titration' : self . do_titration_stuff ( ) return
Update the mode, change the selection of fitters available
Update the mode change the selection of fitters available
"""Update the mode, change the selection of fitters available""" # Usually only update currentmode when menu changed
self
setmode