kalekundert / stepwise

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

Support nested stepwise commands #17

Closed kalekundert closed 4 years ago

kalekundert commented 4 years ago

When using stepwise to run a protocol that itself runs stepwise (a usage model I very much want to support), I currently run into the problem that the child stepwise will notice that it's not connected to a TTY and output its protocol as a pickle. This breaks load() as it is written now (and not with a good error message), but there are two ways to fix it:

In the meantime, nested protocols can work around this issue by calling stepwise with the -x flag. This will continue to work even after this bug is fixed, which is nice.

kalekundert commented 4 years ago

Fixed by c1a254d