Skip to content

Commit

Permalink
use when over repeat
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Jul 18, 2024
1 parent 87b3933 commit 5014ce2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions 30_start_chemostat_after_threshold_reached.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,12 @@ pioreactors:
hours_elapsed: 0.0
dosing_automation:
actions:
- type: repeat
- type: when
hours_elapsed: 0.08 # start after 5m
repeat_every_hours: 0.08 # check every ~5m
while: pr1:growth_rate_calculating:od_filtered.od_filtered <= 30
condition: pr1:growth_rate_calculating:od_filtered.od_filtered > 30
actions:
- type: start
hours_elapsed: 0.079
if: pr1:growth_rate_calculating:od_filtered.od_filtered > 30
hours_elapsed: 0.0
options:
automation_name: chemostat
volume: 0.63
Expand Down

0 comments on commit 5014ce2

Please sign in to comment.