-
Notifications
You must be signed in to change notification settings - Fork 75
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
Error for complicated material #133
Comments
Hey Amir, so the error comes from parsing the 'filpdos' variable from the kpdos.in file. Can you show me your kpdos.in file? Logan Lang |
Hey Logan , Many thanks for your response. &projwfc Best regards, |
In the error report, it is trying to parse the density of state information, even though this is a band structure calculation. This will happen if there is a file 'pdos.in' in your calculation directory. What are all your files in your bands calculation directory? |
Thank you very much! When I removed the pdos.in file, it worked. Best regards, |
Dear Sir/Madam,
I found an error.
"File ~/anaconda3/lib/python3.11/site-packages/pyprocar/io/qe.py:196, in QEParser._parse_pdos(self, pdos_in_filename, dirname)
193 with open(pdos_in_filename, "r") as f:
194 pdos_in = f.read()
--> 196 self.pdos_prefix = re.findall("filpdos\s*=\s*'(.)'", pdos_in)[0]
197 self.proj_prefix = re.findall("filproj\s=\s*'(.*)'", pdos_in)[0]
199 # Parsing total density of states
IndexError: list index out of range
"
I used:
atoms=[0]
orbitals=[0]
spins=[0,1]
pyprocar.bandsplot(
code='qe',
mode='scatter',
atoms=atoms,
For Fe, as example that you provided, it is working pretty well. I have 40 atoms in scf.in file.
Could you please tell me how can I solve this error?
Best regards,
Amir
The text was updated successfully, but these errors were encountered: