We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PYthon 3.12.5
2024.8.9
CentOS 7.6
in pymatgen/io/vasp/output.py
get_band_structure_from_vasp_multiple_branches
if os.path.isfile(f"{dir_name}/branch_0"):
the line if os.path.isfile(f"{dir_name}/branch_0"):
check the filename for the dirname
filename
dirname
So, it return None always.
None
I don't know why the newest version changed.
from pymatgen.io.vasp.outputs import get_band_structure_from_vasp_multiple_branches bs = get_band_structure_from_vasp_multiple_branches('./bs') print(bs == None)
No response
The text was updated successfully, but these errors were encountered:
Hi @Nokimann thanks for reporting this. I could confirm this issue introduced by #3690, would fix ASAP.
Meanwhile is it possible to share your files such that we could enhance unit test (this function is not covered by unit test)? Thanks a lot!
Sorry, something went wrong.
io.vasp.outputs.get_band_structure_from_vasp_multiple_branches
Successfully merging a pull request may close this issue.
Python version
PYthon 3.12.5
Pymatgen version
2024.8.9
Operating system version
CentOS 7.6
Current behavior
in pymatgen/io/vasp/output.py
get_band_structure_from_vasp_multiple_branches
if os.path.isfile(f"{dir_name}/branch_0"):
Expected Behavior
get_band_structure_from_vasp_multiple_branches
the line
if os.path.isfile(f"{dir_name}/branch_0"):
check the
filename
for thedirname
So, it return
None
always.I don't know why the newest version changed.
Minimal example
Relevant files to reproduce this bug
No response
The text was updated successfully, but these errors were encountered: