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 branch directory check in io.vasp.outputs.get_band_structure_from_vasp_multiple_branches #4061

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

DanielYang59
Copy link
Contributor

@DanielYang59 DanielYang59 commented Sep 11, 2024

Summary

  • Fix branch directory check in io.vasp.outputs.get_band_structure_from_vasp_multiple_branches, to fix get_band_structure_from_vasp_multiple_branches #4060
  • Improve unit test (waiting for data, I don't have experience with "VASP multi-branch bandstructure calculation")

@janosh janosh added fix Bug fix PRs electronic structure Electronic structure functionality related labels Sep 11, 2024
Copy link
Member

@janosh janosh left a comment

Choose a reason for hiding this comment

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

that was super fast! thanks a lot @DanielYang59, esp. for the new unit test! 👍


class TestGetBandStructureFromVaspMultipleBranches:
def test_read_multi_branches(self):
"""TODO: use real multi-branch bandstructure calculation."""
Copy link
Contributor Author

@DanielYang59 DanielYang59 Sep 26, 2024

Choose a reason for hiding this comment

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

I would mark this as ready for review but I have to leave this TODO tag here because I have no experience with multi-branch bandstructure calculation. This may not be a real world calculation as the vasprun.xml is the same for all branches.

@DanielYang59 DanielYang59 marked this pull request as ready for review September 26, 2024 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
electronic structure Electronic structure functionality related fix Bug fix PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

get_band_structure_from_vasp_multiple_branches
2 participants