Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
parser-atk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nomad-lab
parser-atk
Commits
47a0a8f3
Commit
47a0a8f3
authored
Sep 29, 2016
by
Mikkel Strange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
smallf ix
parent
8b3a4a36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
parser/parser-atk/parser_atk.py
parser/parser-atk/parser_atk.py
+6
-8
No files found.
parser/parser-atk/parser_atk.py
View file @
47a0a8f3
...
...
@@ -86,14 +86,12 @@ def parse(filename):
c
(
r
.
c
.
numerical_accuracy_parameters
.
electron_temperature
,
'K'
))
p
.
addRealValue
(
'total_charge'
,
r
.
c
.
charge
)
with
o
(
p
,
'section_XC_functionals'
):
xc
=
get_libxc_xc_names
(
r
.
c
.
exchange_correlation
)
if
xc
[
'xc_name'
]
is
not
None
:
p
.
addValue
(
'XC_functional_name'
,
xc
[
'xc_name'
])
if
xc
[
'x_name'
]
is
not
None
:
p
.
addValue
(
'XC_functional_name'
,
xc
[
'x_name'
])
if
xc
[
'c_name'
]
is
not
None
:
p
.
addValue
(
'XC_functional_name'
,
xc
[
'c_name'
])
xc_names
=
get_libxc_xc_names
(
r
.
c
.
exchange_correlation
)
for
name
in
xc_names
.
values
():
if
name
is
not
None
:
with
o
(
p
,
'section_XC_functionals'
):
p
.
addValue
(
'XC_functional_name'
,
name
)
with
o
(
p
,
'section_single_configuration_calculation'
):
p
.
addValue
(
'single_configuration_calculation_to_system_ref'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment