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 structure check in restart() #392

Merged
merged 1 commit into from
Oct 14, 2021
Merged

Fix structure check in restart() #392

merged 1 commit into from
Oct 14, 2021

Conversation

pmrv
Copy link
Contributor

@pmrv pmrv commented Oct 13, 2021

Previously get_structure() must have returned None at some point. Since
AtomisticGenericJob derives from HasStructure this is no longer the
case, so this simply fixes the check to copy the initial structure
in case there's no output structures.

Previously get_structure() must have returned None at some point.  Since
AtomisticGenericJob derives from HasStructure this is no longer the
case, so this simply fixes the check to copy the initial structure
in case there's no output structures.
@pmrv pmrv added the bug Something isn't working label Oct 13, 2021
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1336919102

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage remained the same at 69.771%

Files with Coverage Reduction New Missed Lines %
pyiron_atomistics/atomistics/job/atomistic.py 1 73.26%
Totals Coverage Status
Change from base Build 1334346407: 0.0%
Covered Lines: 11409
Relevant Lines: 16352

💛 - Coveralls

@pmrv pmrv merged commit 5bef8d1 into master Oct 14, 2021
@samwaseda samwaseda deleted the restart_struct branch September 28, 2022 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants