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
a3db0217
Commit
a3db0217
authored
May 21, 2012
by
Peter Eastman
Browse files
Minor change to work correctly with AMBER restart files
parent
2ddd55e2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wrappers/python/simtk/openmm/app/internal/amber_file_parser.py
...ers/python/simtk/openmm/app/internal/amber_file_parser.py
+1
-1
No files found.
wrappers/python/simtk/openmm/app/internal/amber_file_parser.py
View file @
a3db0217
...
@@ -865,7 +865,7 @@ def readAmberCoordinates(filename, read_box=False, read_velocities=False, verbos
...
@@ -865,7 +865,7 @@ def readAmberCoordinates(filename, read_box=False, read_velocities=False, verbos
if
verbose
:
print
"title: '%s'"
%
title
if
verbose
:
print
"title: '%s'"
%
title
# Read number of atoms
# Read number of atoms
natoms
=
int
(
infile
.
readline
().
s
trip
()
)
natoms
=
int
(
infile
.
readline
().
s
plit
()[
0
]
)
if
verbose
:
print
"%d atoms"
%
natoms
if
verbose
:
print
"%d atoms"
%
natoms
# Allocate storage for coordinates
# Allocate storage for coordinates
...
...
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