PEATDB/Ekin/Base.py
def addMeta(self, dataset, fieldname, data):
        """Set a field for this dataset in the meta data dict"""
        if not hasattr(self, '__meta_data__'):
            self.__meta_data__ = {}
            self.__meta_data__[dataset] = {}
        if not  self.__meta_data__.has_key(dataset):
            self.__meta_data__[dataset] = {}
        self.__meta_data__[dataset][fieldname] = data
        return
Set a field for this dataset in the meta data dict
Set a field for this dataset in the meta data dict
Set a field for this dataset in the meta data dict
def addMeta(self, dataset, fieldname, data):
        if not hasattr(self, '__meta_data__'):
            self.__meta_data__ = {}
            self.__meta_data__[dataset] = {}
        if not  self.__meta_data__.has_key(dataset):
            self.__meta_data__[dataset] = {}
        self.__meta_data__[dataset][fieldname] = data
        return
def addMeta ( self , dataset , fieldname , data ) : if not hasattr ( self , '__meta_data__' ) : self . __meta_data__ = { } self . __meta_data__ [ dataset ] = { } if not self . __meta_data__ . has_key ( dataset ) : self . __meta_data__ [ dataset ] = { } self . __meta_data__ [ dataset ] [ fieldname ] = data return
Set a field for this dataset in the meta data dict
Set a field for this dataset in the meta data dict
"""Set a field for this dataset in the meta data dict"""
self
dataset
fieldname
data