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

Improve script error checking/control flow #5

Open
johnegarza opened this issue Apr 15, 2019 · 0 comments
Open

Improve script error checking/control flow #5

johnegarza opened this issue Apr 15, 2019 · 0 comments

Comments

@johnegarza
Copy link
Member

Currently, there is little built-in error checking in optitype_script.sh. For example, during development, there were several occasions where some steps silently errored and did not produce output, but did not stop the script, leading to confusing error messages further on as downstream tools tried to access nonexistent files, and in turn did not stop execution despite errors. Additionally, the script currently assumes each step is successful and removes inputs as soon as a step is complete, complicating debugging in the above situation. How should we reconfigure the script to be safer in these situations?

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

No branches or pull requests

1 participant