"vscode:/vscode.git/clone" did not exist on "834b1294a91c7d9bb022b559fb8fdbb2beae5b41"
Commit a3db0217 authored by Peter Eastman's avatar Peter Eastman
Browse files

Minor change to work correctly with AMBER restart files

parent 2ddd55e2
...@@ -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().strip()) natoms = int(infile.readline().split()[0])
if verbose: print "%d atoms" % natoms if verbose: print "%d atoms" % natoms
# Allocate storage for coordinates # Allocate storage for coordinates
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment