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

Exception handling in task.py #71

Open
kemaleren opened this issue May 15, 2016 · 0 comments
Open

Exception handling in task.py #71

kemaleren opened this issue May 15, 2016 · 0 comments

Comments

@kemaleren
Copy link

kemaleren commented May 15, 2016

I modified drmaa_wrapper.run_job_using_drmaa() to terminate running jobs when the pipeline gets interrupted:

kemaleren@c41181a

However, the finally block never gets called. It appears that task.pipeline_run() and/or other code in task.py are not handling exceptions correctly, and therefore the ThreadPool workers are not getting gracefully shut down.

I've attached the errors I get when interrupting a run with Ctrl-C: ruffus-stderr.txt

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