Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
parser-gpaw
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This project is archived. Its data is
read-only
.
Show more breadcrumbs
nomad-lab
parser-gpaw
Commits
b0638bd7
Commit
b0638bd7
authored
Sep 28, 2016
by
Mikkel Strange
Browse files
Options
Downloads
Patches
Plain Diff
python3 and some polishing
parent
49f29713
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
parser/parser-gpaw/parser2.py
+2
-1
2 additions, 1 deletion
parser/parser-gpaw/parser2.py
with
2 additions
and
1 deletion
parser/parser-gpaw/parser2.py
+
2
−
1
View file @
b0638bd7
...
...
@@ -5,6 +5,7 @@ import numpy as np
from
ase
import
units
from
ase.data
import
chemical_symbols
from
ase.io.aff
import
affopen
from
ase.utils
import
basestring
#from ase.io.trajectory import read_atoms
from
ase.data
import
atomic_masses
from
ase.units
import
Rydberg
...
...
@@ -154,7 +155,7 @@ def parse(filename):
p
.
addArrayValues
(
'
eigenvalues_occupation
'
,
r
.
wave_functions
.
occupations
)
#p.addArrayValues('eigenvalues_kpoints', r.IBZKPoints)
if
hasattr
(
r
.
wave_functions
,
'
band_paths
'
)
:
# could change
in GPAW
if
'
band_paths
'
in
r
.
wave_functions
:
# could change
with
o
(
p
,
'
section_k_band
'
):
for
band_path
in
r
.
wave_functions
.
band_paths
:
with
o
(
p
,
'
section_k_band_segment
'
):
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment