Skip to content

Commit

Permalink
doc and error text updates
Browse files Browse the repository at this point in the history
  • Loading branch information
CaseyBatten committed Aug 13, 2024
1 parent 9b01734 commit f776469
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/src/opentrons/protocol_api/module_contexts.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ def open_lid(self) -> None:

@requires_version(2, 21)
def is_lid_on(self) -> bool:
"""Return True if the Absorbance Reader's lid is currently closed."""
"""Return ``True`` if the Absorbance Reader's lid is currently closed."""
return self._core.is_lid_on()

@requires_version(2, 21)
Expand Down
2 changes: 1 addition & 1 deletion api/src/opentrons/protocol_api/protocol_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ def move_labware(
if isinstance(new_location, AbsorbanceReaderContext):
if new_location.is_lid_on():
raise CommandPreconditionViolated(
f"Cannot move {labware.name} onto the Absorbance Reader Module when Lid is Closed."
f"Cannot move {labware.name} onto the Absorbance Reader Module when its lid is closed."
)

location: Union[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ async def execute(
result = await abs_reader.get_current_lid_status()
if result is not AbsorbanceReaderLidStatus.ON:
raise CannotPerformModuleAction(
"The Opentrons Plate Reader lid mechanicaly position did not match expected Closed state."
"The mechanical position of the Absorbance Plate Reader's lid did not match the expected 'closed' state."
)
else:
raise CannotPerformModuleAction(
Expand Down

0 comments on commit f776469

Please sign in to comment.