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

Fixed a bug in verdi work kill #980

Merged

Conversation

AntimoMarrazzo
Copy link
Contributor

it was stopping when killing a workchain with at least one
calculation that could not be killed. Now those are skipped.

it was stopping when killing a workchain with at least one
calculation that could not be killed. Now those are skipped.
except InvalidOperation as e:
if isinstance(child, JobCalculation):
# Cannot kill calculations that are already killed: skip and go to the next step
pass
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we reraise the exception if it is not an instance of JobCalculation here? Otherwise the exception is silently swallowed. Not sure if that is the intended behavior

@giovannipizzi giovannipizzi merged commit 38c2fec into aiidateam:release_v0.10.1 Dec 13, 2017
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.

3 participants