Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command line option to save state to YAML by default in case of failure #198

Open
lcjohnso opened this issue Apr 12, 2021 · 0 comments

Comments

@lcjohnso
Copy link
Member

For use in the case of scripting multiple iterations of a panoptes command (e.g., for uploading multiple batches of subjects), the ability to automatically save state to a YAML file as an option flag has been requested. This new feature would allow a loop with multiple iterations of the panoptes command to continue without the need for interactive feedback in the form of a Y/N response regarding the user's preference to save (or not) the state of execution to a YAML file in the case of a failure or error.

Recommendation: including the -s --save-to-yaml option would automatically save state to YAML in case of a failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant