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
a8dafda5
Commit
a8dafda5
authored
May 22, 2014
by
Jason Swails
Browse files
Get rid of some comments that I had forgotten to get rid of earlier.
parent
d9e09633
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
wrappers/python/simtk/openmm/app/internal/amber_file_parser.py
...ers/python/simtk/openmm/app/internal/amber_file_parser.py
+0
-7
No files found.
wrappers/python/simtk/openmm/app/internal/amber_file_parser.py
View file @
a8dafda5
...
@@ -1280,13 +1280,6 @@ def readAmberCoordinates(filename, asNumpy=False):
...
@@ -1280,13 +1280,6 @@ def readAmberCoordinates(filename, asNumpy=False):
# See if it's an ASCII file. If so, no need to complain
# See if it's an ASCII file. If so, no need to complain
try
:
try
:
crdfile
=
AmberAsciiRestart
(
filename
)
crdfile
=
AmberAsciiRestart
(
filename
)
"""
`TypeError' if the format of the file is not recognized
`ValueError' if not all fields are numbers (for example, if a field is
filled with ****'s)
`IndexError' if the file is empty
`ImportError' if numpy is requested but could not be imported
"""
except
TypeError
:
except
TypeError
:
raise
TypeError
(
'Problem parsing %s as an ASCII Amber restart file '
raise
TypeError
(
'Problem parsing %s as an ASCII Amber restart file '
'and scipy could not be imported to try reading as '
'and scipy could not be imported to try reading as '
...
...
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