Skip to content

Commit

Permalink
update the load trash during gravimetric, so we can assign it to the …
Browse files Browse the repository at this point in the history
…pipette
  • Loading branch information
ryanthecoder committed Dec 21, 2023
1 parent 04b5129 commit fc5399e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hardware-testing/hardware_testing/gravimetric/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ async def _thread_manager_build_hw_api(
version=APIVersion.from_string(api_level), extra_labware=extra_labware
)

papi.load_labware("opentrons_1_trash_3200ml_fixed", "A3")
return papi


Expand Down Expand Up @@ -377,6 +376,7 @@ def _load_pipette(
if pipette_mount in loaded_pipettes.keys():
return loaded_pipettes[pipette_mount]

trash = ctx.load_labware("opentrons_1_trash_3200ml_fixed", "A3")
pipette = ctx.load_instrument(pip_name, pipette_mount)
loaded_pipettes = ctx.loaded_instruments
assert pipette.max_volume == pipette_volume, (
Expand All @@ -390,6 +390,7 @@ def _load_pipette(
# so we need to decrease the pick-up current to work with 1 tip.
if pipette.channels == 8 and not increment and not photometric:
pipette.configure_nozzle_layout(NozzleLayout.SINGLE, "A1")
pipette.trash_container = trash
return pipette


Expand Down

0 comments on commit fc5399e

Please sign in to comment.