mcneilco / acas

http://mcneilco.com/acas.html
GNU General Public License v3.0
11 stars 5 forks source link

Read optional Experiment Status from SEL file header block #1096

Closed jmcneil86043 closed 1 year ago

jmcneil86043 commented 1 year ago

Expected Behavior

If an SEL file is loaded with the header block key "Experiment Status" and a value with valid experiment status, then when the new experiment is loaded, its status will be set as requested. Screen Shot 2023-04-10 at 12 15 31 PM

If the status value supplied is not one of the configured experiment statuses, then the SEL file is invalid and an error will be returned in the dry-run Screen Shot 2023-04-10 at 12 11 37 PM

If "Experiment Status" is not in the SEL file header then the status is set based on this config server.sel.experimentStatus=approved

Current Behavior

Experiments loaded with SEL get the status in this configuration server.sel.experimentStatus=approved