Hi,
I tried to write an experiment profile and when I ran it, had the following error : “why am I here”.
After an investigation, it seems that it comes from : pioreactor/actions/leader/experiment_profile.py line 446.
In facts, I try to add an automation and update it in my profile and this is probably the breaking point. I even tried to run one of the example profile (31_repeated_temperature_cycle) and had the same error so I guess there were a recent change to identify if an action in a profile is acceptable or not.
Here is my profile with the problematic part:
temperature_automation:
actions:
- type: update
hours_elapsed: 2.0
options:
target_temperature: 32.
- type: update
hours_elapsed: 4.0
options:
target_temperature: 33.
- type: update
hours_elapsed: 6.0
options:
target_temperature: 34.
- type: update
hours_elapsed: 8.0
options:
target_temperature: 35.
- type: update
hours_elapsed: 10.0
options:
target_temperature: 36.
My software is up to date.