-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Hi, I'm trying to output dos graph, but I got an error:
Traceback (most recent call last):
File "/home/zyl/.local/bin/vasprun", line 105, in
test.plot_dos(styles=options.dosplot, filename=options.figname, xlim=lim, smear=options.smear)
File "/home/zyl/.local/lib/python3.10/site-packages/vasprun/init.py", line 857, in plot_dos
mydos, labels = self.get_dos(rows, style)
File "/home/zyl/.local/lib/python3.10/site-packages/vasprun/init.py", line 785, in get_dos
a, b, c, d = np.shape(pdos)
ValueError: not enough values to unpack (expected 4, got 1)
The version is the latest 1.0.4, and my command is
vasprun -v vasprun.xml -d t -n dos-test.png
I'll attach my vasprun.xml below.
vasprun.zip
Metadata
Metadata
Assignees
Labels
No labels