def __init__(self, trait_id): GenericData.__init__(self) self.trait_id = trait_id
def __init__(self,name,name_long): GenericData.__init__(self) self.name = name.strip() self.name_long = name_long.strip() self.cohort_tuple = (self.name,self.name_long)
def __init__(self, ): GenericData.__init__(self) self.metrics = [] self.metric_models = []
def __init__(self, type, value): GenericData.__init__(self) self.type = type.strip() self.value = value
def __init__(self, type, name, value): GenericData.__init__(self) self.name = name.strip() self.type = type.strip() self.value = value self.data = {'type': self.type_choices[type]}