diff --git a/hardware-testing/hardware_testing/gravimetric/execute_photometric.py b/hardware-testing/hardware_testing/gravimetric/execute_photometric.py index 6be6dd6c1dc..a13da2785af 100644 --- a/hardware-testing/hardware_testing/gravimetric/execute_photometric.py +++ b/hardware-testing/hardware_testing/gravimetric/execute_photometric.py @@ -192,7 +192,8 @@ def _record_measurement_and_store(m_type: MeasurementType) -> EnvironmentData: ) _record_measurement_and_store(MeasurementType.ASPIRATE) - input("请记录吸液状态,并尝试拍摄清晰的吸液后的针管照片..........") + if not trial.ctx.is_simulating(): + input("请记录吸液状态,并尝试拍摄清晰的吸液后的针管照片..........") for i in range(num_dispenses): dest_name = _get_photo_plate_dest(trial.cfg, trial.trial) dest_well = trial.dest[dest_name] @@ -217,7 +218,8 @@ def _record_measurement_and_store(m_type: MeasurementType) -> EnvironmentData: touch_tip=trial.cfg.touch_tip, ) _record_measurement_and_store(MeasurementType.DISPENSE) - input("请记录排液状态,并尝试拍摄清晰的排液后的针管照片..........") + if not trial.ctx.is_simulating(): + input("请记录排液状态,并尝试拍摄清晰的排液后的针管照片..........") trial.pipette._retract() # retract to top of gantry if (i + 1) == num_dispenses: if not trial.cfg.same_tip: