示例#1
0
    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
示例#2
0
    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
示例#3
0
    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
示例#4
0
    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
示例#5
0
    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
示例#6
0
    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
示例#7
0
    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
示例#8
0
    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
示例#9
0
    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
示例#10
0
    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