PEATDB/Labbook.py
def open_Ekin(self, row, col):
        """Edit Ekin data, can be used outside PEAT, but does not contain protein and
           field references"""
        model = self.getModel()
        cell_data = model.getCellRecord(row,col)
        if not cell_data:
            ed = EkinModesDialog(title="Select Mode",
                                  parent=self.parentframe)
            mode = ed.result
            print 'MODE',mode
            E = None
        else:
            #mode=cell_data['mode']
            #ekindata=cell_data['ekindata']
            E = cell_data
        from PEATDB.Ekin.Ekin_main import EkinApp
        EK=EkinApp(parent=self, project=E, allowreturntoDB=1)
        self.Ekinprj=None
        self.master.wait_window(EK.ekin_win)
        if not getattr(self, 'Ekinprj', None):
            self.Ekinprj = None
        else:
            #newdata={}
            #newdata['mode']=mode
            #newdata['ekindata']=self.Ekindata
            model.setValueAt(self.Ekinprj, row, col)
            self.Ekinprj=None
            self.redrawTable()
        return
Edit Ekin data, can be used outside PEAT, but does not contain protein and
           field references
Edit Ekin data, can be used outside PEAT, but does not contain protein and
field references
Edit Ekin data can be used outside PEAT but does not contain protein and field references
def open_Ekin(self, row, col):
        model = self.getModel()
        cell_data = model.getCellRecord(row,col)
        if not cell_data:
            ed = EkinModesDialog(title="Select Mode",
                                  parent=self.parentframe)
            mode = ed.result
            print 'MODE',mode
            E = None
        else:
            E = cell_data
        from PEATDB.Ekin.Ekin_main import EkinApp
        EK=EkinApp(parent=self, project=E, allowreturntoDB=1)
        self.Ekinprj=None
        self.master.wait_window(EK.ekin_win)
        if not getattr(self, 'Ekinprj', None):
            self.Ekinprj = None
        else:
            model.setValueAt(self.Ekinprj, row, col)
            self.Ekinprj=None
            self.redrawTable()
        return
def open_Ekin ( self , row , col ) : model = self . getModel ( ) cell_data = model . getCellRecord ( row , col ) if not cell_data : ed = EkinModesDialog ( title = "Select Mode" , parent = self . parentframe ) mode = ed . result print 'MODE' , mode E = None else : E = cell_data from PEATDB . Ekin . Ekin_main import EkinApp EK = EkinApp ( parent = self , project = E , allowreturntoDB = 1 ) self . Ekinprj = None self . master . wait_window ( EK . ekin_win ) if not getattr ( self , 'Ekinprj' , None ) : self . Ekinprj = None else : model . setValueAt ( self . Ekinprj , row , col ) self . Ekinprj = None self . redrawTable ( ) return
Edit Ekin data, can be used outside PEAT, but does not contain protein and
field references
Edit Ekin data can be used outside PEAT but does not contain protein and field references
"""Edit Ekin data, can be used outside PEAT, but does not contain protein and
           field references""" #mode=cell_data['mode'] #ekindata=cell_data['ekindata'] #newdata={} #newdata['mode']=mode #newdata['ekindata']=self.Ekindata
self
row
col