Skip to content

Commit

Permalink
read channels and max vol from pip config
Browse files Browse the repository at this point in the history
  • Loading branch information
ahiuchingau authored and Laura-Danielle committed Oct 20, 2020
1 parent 6655a1f commit c9394fa
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ def _select_starting_pipette(
if len(pips) == 1:
for mount, pip in pips.items():
info = PipetteInfo(
channels=pip.channels,
channels=pip.config.channels,
rank=PipetteRank.first,
max_volume=pip.max_volume,
max_volume=pip.config.max_volume,
mount=mount)
return info, [info]

Expand Down Expand Up @@ -318,7 +318,9 @@ def get_instruments(self) -> List[CheckAttachedPipette]:
being used for a given session for the client.
"""
hw_pips = self._get_hw_pipettes()
MODULE_LOG.info(f"HW PIPS: {hw_pips}")
info_pips = self._get_ordered_info_pipettes()
MODULE_LOG.info(f"INFO PIPS: {info_pips}")
return [
CheckAttachedPipette( # type: ignore[call-arg]
model=hw_pip.model,
Expand Down

0 comments on commit c9394fa

Please sign in to comment.