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

CHGCAR plot error #5

Open
alejandrogallo opened this issue Dec 15, 2017 · 2 comments
Open

CHGCAR plot error #5

alejandrogallo opened this issue Dec 15, 2017 · 2 comments

Comments

@alejandrogallo
Copy link

I get the following error

Traceback (most recent call last):
  File "test.py", line 9, in <module>
    a = ChgCar()
  File "/home/gallo/software/VASPy/vaspy/electro.py", line 549, in __init__
    ElfCar.__init__(self, filename)
  File "/home/gallo/software/VASPy/vaspy/electro.py", line 268, in __init__
    super(ElfCar, self).__init__(filename)
  File "/home/gallo/software/VASPy/vaspy/atomco.py", line 357, in __init__
    self.load()
  File "/home/gallo/software/VASPy/vaspy/electro.py", line 289, in load
    datalist = line2list(line)
  File "/home/gallo/software/VASPy/vaspy/functions.py", line 20, in line2list
    datalist = [dtype(i) for i in strlist if i != '']
  File "/home/gallo/software/VASPy/vaspy/functions.py", line 20, in <listcomp>
    datalist = [dtype(i) for i in strlist if i != '']
ValueError: could not convert string to float: 'augmentation'

witht the following script

import vaspy

from vaspy.electro import ChgCar

a = ChgCar()

a.plot_contour3d()
@PytLab
Copy link
Owner

PytLab commented Dec 16, 2017

Hi, is it convenient for you to show me the CHGCAR file?

@alejandrogallo
Copy link
Author

Sure, here is one example:
chgcar.log

Thanks!

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

2 participants