PEATDB/Ekin/Meta.py
def remove(self, field, dataset=None):
        """Remove a field for all datsets or just supplied name"""
        if field in self.glob:
            del self.glob[field]
        if dataset==None:
            for d in self.data:
                if field in self.data[d]:
                    #print d,field
                    del self.data[d][field]
        else:
            del self.data[dataset][field]
        return
Remove a field for all datsets or just supplied name
Remove a field for all datsets or just supplied name
Remove a field for all datsets or just supplied name
def remove(self, field, dataset=None):
        if field in self.glob:
            del self.glob[field]
        if dataset==None:
            for d in self.data:
                if field in self.data[d]:
                    del self.data[d][field]
        else:
            del self.data[dataset][field]
        return
def remove ( self , field , dataset = None ) : if field in self . glob : del self . glob [ field ] if dataset == None : for d in self . data : if field in self . data [ d ] : del self . data [ d ] [ field ] else : del self . data [ dataset ] [ field ] return
Remove a field for all datsets or just supplied name
Remove a field for all datsets or just supplied name
"""Remove a field for all datsets or just supplied name""" #print d,field
self
field
dataset