kalekundert / stepwise

Modular, command-line scientific protocols
GNU General Public License v3.0
3 stars 0 forks source link

Better error message for non-existent preset names #47

Open kalekundert opened 3 years ago

kalekundert commented 3 years ago

Currently, stepwise seems to treat a non-existent preset in the same way as it would an empty preset. This has confused me a couple times, e.g. when I've renamed presets and then tried to run old protocol scripts. The preset config should detect this situation and give a better error message.

It might also be worth thinking about modifying appcli to allow the configs more control over the error messages.