PEATDB/Ekin/Base.py
def checkMeta(self):
        """Load old style meta data if present and then remove"""
        if not hasattr(self,'__meta_data__'):
            M=MetaData(project=self)
            if hasattr(self, '__Exp_Meta_Dat__'):
                print 'old meta data - converting'
                M.convertfromOld()
                del self.__Exp_Meta_Dat__
            self.setMetaData(M.data)
        return
Load old style meta data if present and then remove
Load old style meta data if present and then remove
Load old style meta data if present and then remove
def checkMeta(self):
        if not hasattr(self,'__meta_data__'):
            M=MetaData(project=self)
            if hasattr(self, '__Exp_Meta_Dat__'):
                print 'old meta data - converting'
                M.convertfromOld()
                del self.__Exp_Meta_Dat__
            self.setMetaData(M.data)
        return
def checkMeta ( self ) : if not hasattr ( self , '__meta_data__' ) : M = MetaData ( project = self ) if hasattr ( self , '__Exp_Meta_Dat__' ) : print 'old meta data - converting' M . convertfromOld ( ) del self . __Exp_Meta_Dat__ self . setMetaData ( M . data ) return
Load old style meta data if present and then remove
Load old style meta data if present and then remove
"""Load old style meta data if present and then remove"""
self