def __init__(self, duration, temperature, read=False): assert check_duration(duration) assert check_temperature(temperature) assert read in [True, False] self.duration = duration self.temperature = temperature self.read = read
def __init__(self, container, where, duration, shaking): assert where in STORAGE_LOCATIONS.keys() assert check_duration(duration) assert shaking in [True, False] self.object = container self.where = where self.duration = duration self.shaking = shaking
def __init__(self, wells, matrix, ladder, duration, dataref): assert matrix in ALLOWED_GEL_MATRICES assert ladder in ALLOWED_GEL_LADDERS assert check_duration(duration) self.objects = wells self.matrix = matrix self.ladder = ladder self.duration = duration self.dataref = dataref
def __init__(self, start, end, increment, rate): assert check_temperature(start) assert check_temperature(end) assert check_temperature(increment) assert check_duration(rate) self.start = start self.end = end self.increment = increment self.rate = rate
def __init__(self, container, speed, duration, acceleration=None): assert speed <= 4000 assert speed is None or check_speed(speed) assert check_duration(duration) assert acceleration is None or check_acceleration(acceleration) self.object = container self.speed = speed self.acceleration = acceleration self.duration = duration