Skip to content

Commit ed22e31

Browse files
committed
format lint
1 parent 543736e commit ed22e31

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

hardware-testing/hardware_testing/gravimetric/protocol_replacement/gravimetric.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -847,9 +847,18 @@ def reset_retract_discontinuity(fixture_settings: FixtureSettings) -> None:
847847
if _should_alter_discontinuity(fixture_settings):
848848
hw_api = fixture_settings.ctx._core.get_hardware()
849849
if fixture_settings.pipette_channels == 96:
850-
hw_api.config.motion_settings.max_speed_discontinuity.high_throughput[
851-
OT3AxisKind.Z
852-
] = DEFAULT_MAX_SPEED_DISCONTINUITY.high_throughput[OT3AxisKind.Z]
850+
if fixture_settings.pipette_volume == 200:
851+
hw_api.config.motion_settings.max_speed_discontinuity.high_throughput_200[
852+
OT3AxisKind.Z
853+
] = DEFAULT_MAX_SPEED_DISCONTINUITY.high_throughput_200[
854+
OT3AxisKind.Z
855+
]
856+
else:
857+
hw_api.config.motion_settings.max_speed_discontinuity.high_throughput_1000[
858+
OT3AxisKind.Z
859+
] = DEFAULT_MAX_SPEED_DISCONTINUITY.high_throughput_1000[
860+
OT3AxisKind.Z
861+
]
853862
else:
854863
hw_api.config.motion_settings.max_speed_discontinuity.low_throughput[
855864
OT3AxisKind.Z

hardware-testing/hardware_testing/protocols/universal_photometric.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def aspirate_with_liquid_class(
314314
return contents
315315

316316

317-
def run(ctx: protocol_api.ProtocolContext) -> None: # noqa: C901
317+
def run(ctx: protocol_api.ProtocolContext) -> None:
318318
"""Run."""
319319
ctx.load_trash_bin("A3")
320320
# tips

0 commit comments

Comments
 (0)