PEATDB/Ekin/Base.py
def checkDict(self, dataset, name):
        """Check for arbitrary fields stored in the old format dataset
           we move these to metadata"""
        if not type(dataset) is types.DictType:
            return None
        for k in dataset.keys():
            if not k in [0,1,2]:
                self.addMeta(name, k, dataset[k])
        #print self.getMetaData(name)
        return
Check for arbitrary fields stored in the old format dataset
           we move these to metadata
Check for arbitrary fields stored in the old format dataset
we move these to metadata
Check for arbitrary fields stored in the old format dataset we move these to metadata
def checkDict(self, dataset, name):
        if not type(dataset) is types.DictType:
            return None
        for k in dataset.keys():
            if not k in [0,1,2]:
                self.addMeta(name, k, dataset[k])
        return
def checkDict ( self , dataset , name ) : if not type ( dataset ) is types . DictType : return None for k in dataset . keys ( ) : if not k in [ 0 , 1 , 2 ] : self . addMeta ( name , k , dataset [ k ] ) return
Check for arbitrary fields stored in the old format dataset
we move these to metadata
Check for arbitrary fields stored in the old format dataset we move these to metadata
"""Check for arbitrary fields stored in the old format dataset
           we move these to metadata""" #print self.getMetaData(name)
self
dataset
name