pylabrobot.thermocycling.opentrons_backend.OpentronsThermocyclerBackend#

class pylabrobot.thermocycling.opentrons_backend.OpentronsThermocyclerBackend(opentrons_id: str)#

Bases: ThermocyclerBackend

HTTP-API backend for the Opentrons GEN-1/GEN-2 Thermocycler.

All core functions are supported. run_profile() is fire-and-forget, since PCR runs can outlive the decorator’s default timeout.

Methods

__init__(opentrons_id)

Create a new backend bound to a specific thermocycler.

close_lid()

Close the thermocycler lid.

deactivate_block()

Deactivate the block heater.

deactivate_lid()

Deactivate the lid heater.

deserialize(data)

get_all_instances()

get_block_current_temperature()

Get the current block temperature in °C.

get_block_target_temperature()

Get the block target temperature in °C.

get_current_cycle_index()

Get the zero-based index of the current cycle from the Opentrons API.

get_current_step_index()

Get the zero-based index of the current step from the Opentrons API.

get_hold_time()

Get remaining hold time in seconds.

get_lid_current_temperature()

Get the current lid temperature in °C.

get_lid_status()

Get the lid open/closed status.

get_lid_target_temperature()

Get the lid target temperature in °C.

get_total_cycle_count()

Get the total cycle count.

get_total_step_count()

Get the total number of steps in the current cycle.

open_lid()

Open the thermocycler lid.

run_profile(profile, block_max_volume)

Enqueue and return immediately (no wait) the PCR profile command.

serialize()

Include the Opentrons module ID in serialized state.

set_block_temperature(temperature)

Set block temperature in °C.

set_lid_temperature(temperature)

Set lid temperature in °C.

setup()

No extra setup needed for HTTP-API thermocycler.

stop()

Gracefully deactivate both heaters.

Parameters:

opentrons_id (str)