Rigbox icon indicating copy to clipboard operation
Rigbox copied to clipboard

MC draws params from params file, not from expDef

Open kevin-j-miller opened this issue 6 years ago • 0 comments

Currently, MC draws its parameter list from the parameters file, not from the expDef. If you try to run an experiment with a params file that's missing a param, mc will send it to the rig computer, which will fail silently.

Suggested fix: MC should instead draw the parameter list from the expDef file, then attempt to draw values from the parameters file. If it can't find a value for a parameter, it should throw a warning then use the default value. If a param is specified in the expDef but has no value (i.e. it's not in the param file, and there's no default) MC should refuse to run that experiment.

kevin-j-miller avatar Feb 18 '19 15:02 kevin-j-miller