mirror of
https://github.com/triqs/dft_tools
synced 2025-01-02 17:45:47 +01:00
Fixed the previous commit
The implementation of option 'read_all' was missing in the previous commit.
This commit is contained in:
parent
33ab7ff2a0
commit
36c928a4b5
@ -30,15 +30,17 @@ class VaspData:
|
||||
self.vasp_dir = vasp_dir
|
||||
|
||||
self.plocar = Plocar()
|
||||
self.plocar.from_file(vasp_dir)
|
||||
self.poscar = Poscar()
|
||||
self.poscar.from_file(vasp_dir)
|
||||
self.kpoints = Kpoints()
|
||||
self.kpoints.from_file(vasp_dir)
|
||||
self.eigenval = Eigenval()
|
||||
self.eigenval.from_file(vasp_dir)
|
||||
self.doscar = Doscar()
|
||||
self.doscar.from_file(vasp_dir)
|
||||
|
||||
if read_all:
|
||||
self.plocar.from_file(vasp_dir)
|
||||
self.poscar.from_file(vasp_dir)
|
||||
self.kpoints.from_file(vasp_dir)
|
||||
self.eigenval.from_file(vasp_dir)
|
||||
self.doscar.from_file(vasp_dir)
|
||||
|
||||
################################################################################
|
||||
################################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user