Skip to content

Commit

Permalink
default the filename arg of absorbance read command to None
Browse files Browse the repository at this point in the history
  • Loading branch information
vegano1 committed Oct 24, 2024
1 parent ca9b469 commit 7af2905
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/src/opentrons/protocol_api/core/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def initialize(
"""Initialize the Absorbance Reader by taking zero reading."""

@abstractmethod
def read(self, filename: Optional[str]) -> Dict[int, Dict[str, float]]:
def read(self, filename: Optional[str] = None) -> Dict[int, Dict[str, float]]:
"""Get an absorbance reading from the Absorbance Reader."""

@abstractmethod
Expand Down
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 @@ -1035,7 +1035,7 @@ def initialize(
)

@requires_version(2, 21)
def read(self, export_filename: Optional[str]) -> Dict[int, Dict[str, float]]:
def read(self, export_filename: Optional[str] = None) -> Dict[int, Dict[str, float]]:
"""Initiate read on the Absorbance Reader.
Returns a dictionary of wavelengths to dictionary of values ordered by well name.
Expand Down

0 comments on commit 7af2905

Please sign in to comment.