Пример #1
0
def test_turn_off_temp_deck(monkeypatch):
    import types
    from opentrons.drivers.temp_deck import TempDeck

    temp_deck = TempDeck()
    temp_deck.simulating = False
    command_log = []

    def _mock_send_command(self, command, timeout=None):
        nonlocal command_log
        command_log += [command]
        return ''

    temp_deck._send_command = types.MethodType(_mock_send_command, temp_deck)

    temp_deck.disengage()
    assert command_log == ['M18']
Пример #2
0
    P300.pick_up_tip()
    P300.transfer(200, Culture('A1'), target1(), blow_out=True)
    robot.comment(
        "Time to centrifuge your cultures"
    )  # Pause to allow time for bacteria to be pelleted via centrifuge
    robot.pause()

# Wash Aliquot
for i in range(1):  # Wash step
    P300.pick_up_tip(
    )  # Supernatant is removed from each well to leave the pellet
    P300.transfer(200, target1(), Culture('A1').top(-27), blow_out=True)
    P300.drop_tip()

    P300.pick_up_tip(
    )  # Wash buffer is added to each individual well and mixing occurs
    P300.transfer(  # to resuspend the pellet
        100,
        Buffers_positions,
        target1(),
        mix_after=(5, 100),
        new_tip='always')
    robot.comment(
        "Time to incubate your cultures"
    )  # Tempdeck recools and switches off while allowing time for centrifugation
    robot.comment("Time to centrifuge your cultures")  # of cultures
    robot.pause()
    # Can be frozen or used immediately depending on your wash buffer

tempdeck.disengage()
robot.comment("Protocol Finished")