Skip to content

Fix bug: error in last module not stopping - #136

Merged
tiborauer merged 3 commits into
automaticanalysis:masterfrom
dprice80:v5-devel
Oct 20, 2017
Merged

Fix bug: error in last module not stopping#136
tiborauer merged 3 commits into
automaticanalysis:masterfrom
dprice80:v5-devel

Conversation

@dprice80

Copy link
Copy Markdown
Contributor

When an error occurs in the last module, aa did not stop. To solve I check whether current module is last module, and then set watforalljobs = true. This could also be achieved by setting waitforalljobs = true when aaq_qsub.run_all() is called.

I have also removed some superfluous code that was changing waitforjobs back to false unnecessarily. This is no longer needed because of the way I use obj,jobinfo to check for the existence of jobs.

When an error occurs in the last module, aa did not stop. To solve I check whether current module is last module, and then set watforalljobs = true. This could also be achieved by setting waitforalljobs = true when aaq_qsub.run_all() is called.
@tiborauer
tiborauer merged commit 58dea6b into automaticanalysis:master Oct 20, 2017
hhentschke pushed a commit to hhentschke/automaticanalysis that referenced this pull request Feb 21, 2021
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

Successfully merging this pull request may close these issues.

2 participants