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

Fix resubmit_unconverged_geometry handler. #116

Merged
merged 1 commit into from Oct 16, 2020

Conversation

yakutovicha
Copy link
Contributor

@yakutovicha yakutovicha commented Oct 16, 2020

fixes #115

Currently, an AiiDA Dict object defined as follows:

d = Dict(dict={'a':{'b':1}})

Returns two type of errors if the key isn't present:

  • d['x'] returns AttributeError
  • `d['a']['x'] returns KeyError

This PR adapts the handler for this behaviour.

Currently, an AiiDA Dict object defined as follows:
```
d = Dict(dict={'a':{'b':1}})
```
Returns two type of errors if the key isn't present:
- `d['x']` returns AttributeError
- `d['a']['x'] returns KeyError

This PR adapts the handler for this behaviour.
@yakutovicha yakutovicha merged commit a5f26ff into develop Oct 16, 2020
@yakutovicha yakutovicha deleted the fix/resubmit-unconverged-geometry-115 branch October 16, 2020 18:31
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.

resubmit_unconverged_geometry process handler doesn't work properly sometimes
1 participant