def __init__(self, data): self.name = data[0] self.type = data[1] self.origin = data[2] self.alpha_acids = data[3] self.beta_acids = data[4] self.notes = clean(data[5]) self.transform()
def __init__(self, data): self.name = data[0] self.type = data[1] self.form = data[2] self.lab = data[3] self.min_temp = data[4] self.max_temp = data[5] self.flocculation = data[6] self.attenuation = data[7] self.notes = clean(data[8]) self.transform()
def __init__(self, data): self.name = data[0] self.type = data[1] self.potential = data[2] self.lovibond = data[3] self.origin = data[4] self.supplier = data[5] self.notes = clean(data[6]) self.coarse_fine_diff = data[7] self.moisture = data[8] self.diastatic_power = data[9] self.protein = data[10] self.max_in_batch = data[11] self.is_mashed = data[12] self.transform()