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

2D-spin mesh plot,could not convert string to float happen #81

Closed
ChenqiangHua opened this issue Aug 19, 2022 · 2 comments
Closed

2D-spin mesh plot,could not convert string to float happen #81

ChenqiangHua opened this issue Aug 19, 2022 · 2 comments

Comments

@ChenqiangHua
Copy link

I have run the "pyprocar.fermi2D('PROCAR-repaired', outcar='OUTCAR', st=True, energy=0.01, noarrow=False, spin=3, code='vasp')"
The procar is repaired before fermi2D.

then after several mins error happens:
Traceback (most recent call last):
File "/beegfs/home/b00004/calculation-hcq/soc/2Dslice/soc/slice/py", line 4, in
pyprocar.fermi2D('PROCAR-repaired', outcar='OUTCAR', st=True, energy=0.01, noarrow=False, spin=3, code='vasp')
File "/beegfs/home/b00004/anaconda3/lib/python3.9/site-packages/pyprocar/scriptFermi2D.py", line 92, in fermi2D
rec_basis = outcarparser.RecLatOutcar(outcar)
File "/beegfs/home/b00004/anaconda3/lib/python3.9/site-packages/pyprocar/utilsprocar/utilsprocar.py", line 271, in RecLatOutcar
recLat = np.array(recLat, dtype=float)
ValueError: could not convert string to float: '0.000000000171.062194824'

PS. my vasp running is successful but PROCAR is large due to 200 atoms.

Can anyone help me?

@ChenqiangHua
Copy link
Author

my pyprocar version is 5.6.6

@ChenqiangHua
Copy link
Author

oh my god! I find the origin of this error! THX for this software!

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

No branches or pull requests

1 participant