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
af74717d
Commit
af74717d
authored
Mar 14, 2015
by
kyleabeauchamp
Browse files
Fix bug in dcd box vector writing.
parent
7f8c5089
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wrappers/python/simtk/openmm/app/dcdfile.py
wrappers/python/simtk/openmm/app/dcdfile.py
+2
-2
No files found.
wrappers/python/simtk/openmm/app/dcdfile.py
View file @
af74717d
...
@@ -112,8 +112,8 @@ class DCDFile(object):
...
@@ -112,8 +112,8 @@ class DCDFile(object):
file
.
seek
(
0
,
os
.
SEEK_END
)
file
.
seek
(
0
,
os
.
SEEK_END
)
boxVectors
=
self
.
_topology
.
getPeriodicBoxVectors
()
boxVectors
=
self
.
_topology
.
getPeriodicBoxVectors
()
if
boxVectors
is
not
None
:
if
boxVectors
is
not
None
:
if
getP
eriodicBoxVectors
is
not
None
:
if
p
eriodicBoxVectors
is
not
None
:
boxVectors
=
getP
eriodicBoxVectors
boxVectors
=
p
eriodicBoxVectors
elif
unitCellDimensions
is
not
None
:
elif
unitCellDimensions
is
not
None
:
if
is_quantity
(
unitCellDimensions
):
if
is_quantity
(
unitCellDimensions
):
unitCellDimensions
=
unitCellDimensions
.
value_in_unit
(
nanometers
)
unitCellDimensions
=
unitCellDimensions
.
value_in_unit
(
nanometers
)
...
...
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