Skip to content

Commit

Permalink
Pauses stirring in OD cal
Browse files Browse the repository at this point in the history
  • Loading branch information
odcambc committed Jun 18, 2023
1 parent dc006e7 commit 3dc8e39
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pioreactor/actions/od_calibration_from_standards.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def plot_data(


def start_recording_standards(st: Stirrer, signal_channel):
target_rpm = st.target_rpm
voltages = []
od600_values = []
click.echo("Starting OD recordings.")
Expand Down Expand Up @@ -174,6 +175,8 @@ def get_voltage_from_adc() -> float:
od600_values.append(standard_od)
voltages.append(voltage)

st.set_target_rpm(0)

for i in range(len(od600_values)):
click.clear()
plot_data(
Expand All @@ -194,6 +197,8 @@ def get_voltage_from_adc() -> float:
click.echo("Confirm vial outside is dry and clean.")
while not click.confirm("Continue?", default=True):
pass
st.set_target_rpm(target_rpm)
st.block_until_rpm_is_close_to_target(abs_tolerance=120)
sleep(1.0)

click.clear()
Expand Down

0 comments on commit 3dc8e39

Please sign in to comment.