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

Check return code of every subprocess command #19

Open
martinghunt opened this issue Nov 22, 2021 · 3 comments
Open

Check return code of every subprocess command #19

martinghunt opened this issue Nov 22, 2021 · 3 comments

Comments

@martinghunt
Copy link
Member

and handle it. eg currently assembly can work but make VCF can fail. We don't find out because the whole thing crashes. Fixing this should cover #5 as well.

@iqbal-lab
Copy link
Contributor

not sure if this is open @martinghunt

@martinghunt
Copy link
Member Author

it is open

@bede
Copy link
Contributor

bede commented Dec 16, 2021

subprocess.run() can take check=True
https://github.com/iqbal-lab-org/viridian_workflow/blob/9ec3d8035c8d8df50a8ccaa2b7ca17946164ff8d/viridian_workflow/utils.py#L49

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

3 participants