Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
39cba8fb
Commit
39cba8fb
authored
Aug 05, 2011
by
John Chodera
Browse files
Fixed a bug with retrieval of periodic box vectors from State objects in Python wrappers.
parent
c67aed53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
wrappers/python/src/swig_doxygen/swig_lib/python/pythoncode.i
...pers/python/src/swig_doxygen/swig_lib/python/pythoncode.i
+1
-0
No files found.
wrappers/python/src/swig_doxygen/swig_lib/python/pythoncode.i
View file @
39cba8fb
...
@@ -58,6 +58,7 @@ class State(_object):
...
@@ -58,6 +58,7 @@ class State(_object):
paramMap
=
None
)
:
paramMap
=
None
)
:
self
.
_simTime
=
simTime
self
.
_simTime
=
simTime
self
.
_periodicBoxVectorsList
=
periodicBoxVectorsList
self
.
_periodicBoxVectorsList
=
periodicBoxVectorsList
self
.
_periodicBoxVectorsListNumpy
=
None
if
energy
:
if
energy
:
self
.
_eK0
=
energy
[
0
]
self
.
_eK0
=
energy
[
0
]
self
.
_eP0
=
energy
[
1
]
self
.
_eP0
=
energy
[
1
]
...
...
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