Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
parser-dl-poly
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
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-dl-poly
Commits
326e4d61
Commit
326e4d61
authored
9 years ago
by
Mohamed, Fawzi Roberto (fawzi)
Browse files
Options
Downloads
Patches
Plain Diff
applying obvious metadata renames
section_system_description -> section_system cell_associated -> cell_dependent
parent
e50d7ad5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
parser/parser-dl_poly/SimpleDL_POLYParser.py
+5
-5
5 additions, 5 deletions
parser/parser-dl_poly/SimpleDL_POLYParser.py
parser/parser-dl_poly/dlPolyParser.py
+1
-1
1 addition, 1 deletion
parser/parser-dl_poly/dlPolyParser.py
with
6 additions
and
6 deletions
parser/parser-dl_poly/SimpleDL_POLYParser.py
+
5
−
5
View file @
326e4d61
...
...
@@ -18,8 +18,8 @@ class DL_POLYParserContext(object):
def
onClose_section_method
(
self
,
backend
,
gIndex
,
section
):
print
"
<onClose_section_method>
"
return
def
onClose_section_system
_description
(
self
,
backend
,
gIndex
,
section
):
print
"
<onClose_section_system
_description
>
"
def
onClose_section_system
(
self
,
backend
,
gIndex
,
section
):
print
"
<onClose_section_system>
"
return
def
onClose_dl_poly_section_md_molecule_type
(
self
,
backend
,
gIndex
,
section
):
print
"
<onClose_molecule_type>
"
...
...
@@ -73,7 +73,7 @@ mainFileDescription = SM(name = 'root',
SM
(
name
=
'
mdSystem
'
,
startReStr
=
r
"
\s*SYSTEM SPECIFICATION\s*
"
,
required
=
True
,
sections
=
[
'
section_system
_description
'
],
sections
=
[
'
section_system
'
],
subMatchers
=
[
SM
(
name
=
'
mdTopology
'
,
startReStr
=
r
"
\s*number of molecular types\s*[0-9]*\s*
"
,
...
...
@@ -122,7 +122,7 @@ mainFileDescription = SM(name = 'root',
SM(startReStr =
"
Number of k-points\s*
"
,
forwardMatch = True,
sections = [
"
section_system
_description
"
],
sections = [
"
section_system
"
],
subMatchers = [
SM(startReStr =
"
Number of k-points\s*
"
,
...
...
@@ -168,7 +168,7 @@ mainFileDescription = SM(name = 'root',
]), # CLOSING section_single_configuration_calculation
]), # CLOSING section_system
_description
]), # CLOSING section_system
]), # CLOSING SM newRun
...
...
This diff is collapsed.
Click to expand it.
parser/parser-dl_poly/dlPolyParser.py
+
1
−
1
View file @
326e4d61
...
...
@@ -202,7 +202,7 @@ def parse(output_file_name):
refs_system_description
=
[]
all_frames
=
[
cfg
]
+
trj
.
frames
# <- Initial config + trajectory
for
frame
in
all_frames
:
with
open_section
(
jbe
,
'
section_system
_description
'
)
as
gid
:
with
open_section
(
jbe
,
'
section_system
'
)
as
gid
:
refs_system_description
.
append
(
gid
)
# Configuration core
atom_labels
=
np
.
array
([
atom
[
'
atom_name
'
].
As
()
for
atom
in
frame
.
atoms
])
...
...
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