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-molcas
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-molcas
Commits
c01a5053
Commit
c01a5053
authored
Nov 18, 2016
by
Ask Hjorth Larsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug where positions would be defined assuming wrong table layout
parent
d90138cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
parser/parser-molcas/main.py
parser/parser-molcas/main.py
+4
-2
No files found.
parser/parser-molcas/main.py
View file @
c01a5053
...
...
@@ -234,8 +234,10 @@ class MolcasContext(object):
def
onClose_section_system
(
self
,
backend
,
gindex
,
section
):
matrix
=
self
.
data
.
pop
(
'coordinates'
)
atom_labels
=
matrix
[:,
1
]
coords
=
matrix
[:,
2
:
5
].
astype
(
float
)
assert
matrix
.
shape
[
1
]
==
4
atom_labels
=
matrix
[:,
0
]
coords
=
matrix
[:,
1
:
4
].
astype
(
float
)
assert
coords
.
shape
[
1
]
==
3
coords
=
convert_unit
(
coords
,
'bohr'
)
backend
.
addArrayValues
(
'atom_labels'
,
atom_labels
)
...
...
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