From 41ba109e7ea63ca2f199da47ccc5f5ca1a56af70 Mon Sep 17 00:00:00 2001 From: Tony Ngumah Date: Tue, 8 Oct 2024 14:02:31 -0400 Subject: [PATCH] feat(abr-testing): Protocol simulator, utilizes opentrons CLI to simulate and record information regarding a protocol. --- abr-testing/protocol_simulation/simulation_metrics.py | 2 +- api/src/opentrons/protocol_api/instrument_context.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/abr-testing/protocol_simulation/simulation_metrics.py b/abr-testing/protocol_simulation/simulation_metrics.py index 2c01ee21c88..f05946720dd 100644 --- a/abr-testing/protocol_simulation/simulation_metrics.py +++ b/abr-testing/protocol_simulation/simulation_metrics.py @@ -83,7 +83,7 @@ def get_labware_name(id: str, object_dict: dict, json_data: dict): elif 'labwareId' in location: return get_labware_name(location['labwareId'], json_data['labware'], json_data) - return "Labware not found" + return " Labware not found" def parse_results_volume(json_data_file: str) -> Tuple[ diff --git a/api/src/opentrons/protocol_api/instrument_context.py b/api/src/opentrons/protocol_api/instrument_context.py index 3575cea819b..97075e3977d 100644 --- a/api/src/opentrons/protocol_api/instrument_context.py +++ b/api/src/opentrons/protocol_api/instrument_context.py @@ -539,7 +539,7 @@ def mix( location=location, ), ): - self._protocol_core.comment("MIXING") + # self._protocol_core.comment("MIXING") self.aspirate(volume, location, rate) while repetitions - 1 > 0: self.dispense(volume, rate=rate, **dispense_kwargs)