Closed CaseyBatten closed 5 days ago
Covers RABR-674
Ensures that an error is raised during analysis when the lid is not closed and a read is attempted, and that the error goes away if the lid is closed.
from opentrons.protocol_api import ProtocolContext metadata = { "protocolName": "plate reader test for read without lid", }
requirements = {"robotType": "Flex", "apiLevel": "2.21"}
def run(ctx: ProtocolContext) -> None: """Protocol.""" plate_reader = ctx.load_module( "absorbanceReaderV1", "A3" ) sample_plate = ctx.load_labware( "armadillo_96_wellplate_200ul_pcr_full_skirt", "D1", "Sample Plate 1" ) plate_reader.close_lid() plate_reader.initialize("single", [450]) plate_reader.open_lid() ctx.move_labware(sample_plate, plate_reader, use_gripper=True) result = plate_reader.read()
## Changelog Added new error to the engine command executor for the Read function of the plate reader. ## Review requests ## Risk assessment Low
Overview
Covers RABR-674
Ensures that an error is raised during analysis when the lid is not closed and a read is attempted, and that the error goes away if the lid is closed.
Test Plan and Hands on Testing
requirements = {"robotType": "Flex", "apiLevel": "2.21"}
def run(ctx: ProtocolContext) -> None: """Protocol.""" plate_reader = ctx.load_module( "absorbanceReaderV1", "A3" ) sample_plate = ctx.load_labware( "armadillo_96_wellplate_200ul_pcr_full_skirt", "D1", "Sample Plate 1" ) plate_reader.close_lid() plate_reader.initialize("single", [450]) plate_reader.open_lid() ctx.move_labware(sample_plate, plate_reader, use_gripper=True) result = plate_reader.read()