Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
parser-elk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nomad-lab
parser-elk
Commits
bc07476f
Commit
bc07476f
authored
6 years ago
by
Mohamed, Fawzi Roberto (fawzi)
Browse files
Options
Downloads
Patches
Plain Diff
meta 2.0 changes
parent
c8966450
No related branches found
Tags
nomad-coe
No related merge requests found
Pipeline
#42753
passed
6 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
parser/parser-elk/parser_elk.py
+5
-5
5 additions, 5 deletions
parser/parser-elk/parser_elk.py
src/main/scala/eu/nomad_lab/parsers/ElkParser.scala
+1
-1
1 addition, 1 deletion
src/main/scala/eu/nomad_lab/parsers/ElkParser.scala
with
6 additions
and
6 deletions
parser/parser-elk/parser_elk.py
+
5
−
5
View file @
bc07476f
...
@@ -72,12 +72,12 @@ class ElkContext(object):
...
@@ -72,12 +72,12 @@ class ElkContext(object):
30
:
[
'
GGA_C_AM05
'
,
'
GGA_X_AM05
'
]
30
:
[
'
GGA_C_AM05
'
,
'
GGA_X_AM05
'
]
}
}
for
xcName
in
xc_internal_map
[
xcNr
]:
for
xcName
in
xc_internal_map
[
xcNr
]:
gi
=
backend
.
openSection
(
"
section_
XC
_functionals
"
)
gi
=
backend
.
openSection
(
"
section_
xc
_functionals
"
)
backend
.
addValue
(
"
XC
_functional_name
"
,
xcName
)
backend
.
addValue
(
"
xc
_functional_name
"
,
xcName
)
backend
.
closeSection
(
"
section_
XC
_functionals
"
,
gi
)
backend
.
closeSection
(
"
section_
xc
_functionals
"
,
gi
)
def
onClose_section_single_configuration_calculation
(
self
,
backend
,
gIndex
,
section
):
def
onClose_section_single_configuration_calculation
(
self
,
backend
,
gIndex
,
section
):
backend
.
addValue
(
'
single_configuration_
to_
calculation_method_ref
'
,
self
.
secMethodIndex
)
backend
.
addValue
(
'
single_configuration_calculation_
to_
method_ref
'
,
self
.
secMethodIndex
)
backend
.
addValue
(
'
single_configuration_calculation_to_system_ref
'
,
self
.
secSystemIndex
)
backend
.
addValue
(
'
single_configuration_calculation_to_system_ref
'
,
self
.
secSystemIndex
)
dirPath
=
os
.
path
.
dirname
(
self
.
parser
.
fIn
.
name
)
dirPath
=
os
.
path
.
dirname
(
self
.
parser
.
fIn
.
name
)
dosFile
=
os
.
path
.
join
(
dirPath
,
"
TDOS.OUT
"
)
dosFile
=
os
.
path
.
join
(
dirPath
,
"
TDOS.OUT
"
)
...
@@ -274,7 +274,7 @@ mainFileDescription = \
...
@@ -274,7 +274,7 @@ mainFileDescription = \
SM
(
r
"
\s*electron-nuclear\s*:\s*(?P<x_elk_electron_nuclear_energy_scf_iteration__hartree>[-0-9.]+)
"
),
SM
(
r
"
\s*electron-nuclear\s*:\s*(?P<x_elk_electron_nuclear_energy_scf_iteration__hartree>[-0-9.]+)
"
),
SM
(
r
"
\s*Hartree\s*:\s*(?P<x_elk_hartree_energy_scf_iteration__hartree>[-0-9.]+)
"
),
SM
(
r
"
\s*Hartree\s*:\s*(?P<x_elk_hartree_energy_scf_iteration__hartree>[-0-9.]+)
"
),
SM
(
r
"
\s*Madelung\s*:\s*(?P<x_elk_madelung_energy_scf_iteration__hartree>[-0-9.]+)
"
),
SM
(
r
"
\s*Madelung\s*:\s*(?P<x_elk_madelung_energy_scf_iteration__hartree>[-0-9.]+)
"
),
SM
(
r
"
\s*xc potential\s*:\s*(?P<energy_
XC
_potential_scf_iteration__hartree>[-0-9.]+)
"
),
SM
(
r
"
\s*xc potential\s*:\s*(?P<energy_
xc
_potential_scf_iteration__hartree>[-0-9.]+)
"
),
SM
(
r
"
\s*exchange\s*:\s*(?P<x_elk_exchange_energy_scf_iteration__hartree>[-0-9.]+)
"
),
SM
(
r
"
\s*exchange\s*:\s*(?P<x_elk_exchange_energy_scf_iteration__hartree>[-0-9.]+)
"
),
SM
(
r
"
\s*correlation\s*:\s*(?P<x_elk_correlation_energy_scf_iteration__hartree>[-0-9.]+)
"
),
SM
(
r
"
\s*correlation\s*:\s*(?P<x_elk_correlation_energy_scf_iteration__hartree>[-0-9.]+)
"
),
SM
(
r
"
\s*electron entropic\s*:\s*(?P<x_elk_electron_entropic_energy_scf_iteration__hartree>[-0-9.]+([E]?[-]?[0-9]+))
"
),
SM
(
r
"
\s*electron entropic\s*:\s*(?P<x_elk_electron_entropic_energy_scf_iteration__hartree>[-0-9.]+([E]?[-]?[0-9]+))
"
),
...
...
This diff is collapsed.
Click to expand it.
src/main/scala/eu/nomad_lab/parsers/ElkParser.scala
+
1
−
1
View file @
bc07476f
...
@@ -48,7 +48,7 @@ object ElkParser extends SimpleExternalParserGenerator(
...
@@ -48,7 +48,7 @@ object ElkParser extends SimpleExternalParserGenerator(
"parser-elk/setup_paths.py"
,
"parser-elk/setup_paths.py"
,
"nomad_meta_info/public.nomadmetainfo.json"
,
"nomad_meta_info/public.nomadmetainfo.json"
,
"nomad_meta_info/common.nomadmetainfo.json"
,
"nomad_meta_info/common.nomadmetainfo.json"
,
"nomad_meta_info/meta
_types
.nomadmetainfo.json"
,
"nomad_meta_info/meta.nomadmetainfo.json"
,
"nomad_meta_info/elk.nomadmetainfo.json"
"nomad_meta_info/elk.nomadmetainfo.json"
)
++
DefaultPythonInterpreter
.
commonFiles
(),
)
++
DefaultPythonInterpreter
.
commonFiles
(),
dirMap
=
Map
(
dirMap
=
Map
(
...
...
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
register
or
sign in
to comment