Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ot_api/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,9 @@ def thermocycler_deactivate_lid(module_id: str, run_id: str = None):
""" Deactivate thermocycler lid """
return ot_api.runs.enqueue_command("thermocycler/deactivateLid",
{"moduleId": module_id}, intent="setup", run_id=run_id)

@command
def thermocycler_run_profile(profile: list, block_max_volume: float, module_id: str, run_id: str = None):
""" Execute thermocycler profile run """
return ot_api.runs.enqueue_command("thermocycler/runProfile",
{"profile": profile, "blockMaxVolumeUl": block_max_volume,"moduleId": module_id}, intent="setup", run_id=run_id)