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
8bb898d2
Commit
8bb898d2
authored
Apr 15, 2014
by
Jason Swails
Browse files
ValueError -> TypeError. Seems a more appropriate exception to raise.
parent
df390132
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wrappers/python/simtk/openmm/app/charmmparameterset.py
wrappers/python/simtk/openmm/app/charmmparameterset.py
+1
-1
No files found.
wrappers/python/simtk/openmm/app/charmmparameterset.py
View file @
8bb898d2
...
...
@@ -92,7 +92,7 @@ class CharmmParameterSet(object):
elif
arg
.
endswith
(
'.str'
):
strs
.
append
(
arg
)
else
:
raise
Valu
eError
(
'Unrecognized file type: %s'
%
arg
)
raise
Typ
eError
(
'Unrecognized file type: %s'
%
arg
)
for
top
in
tops
:
self
.
readTopologyFile
(
top
)
for
par
in
pars
:
self
.
readParameterFile
(
par
)
for
strf
in
strs
:
self
.
readStreamFile
(
strf
)
...
...
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