Skip to content

Commit

Permalink
fix ci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Dec 20, 2024
1 parent 392fc74 commit 05b9470
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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:
Expand Down

0 comments on commit 05b9470

Please sign in to comment.