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
c79b07cf
Commit
c79b07cf
authored
May 29, 2014
by
peastman
Browse files
Merge pull request #466 from swails/master
Small tweak to fix parsing of par_all36_carb.prm
parents
ba5e21ff
0af25daf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
wrappers/python/simtk/openmm/app/charmmparameterset.py
wrappers/python/simtk/openmm/app/charmmparameterset.py
+4
-0
No files found.
wrappers/python/simtk/openmm/app/charmmparameterset.py
View file @
c79b07cf
...
...
@@ -241,6 +241,10 @@ class CharmmParameterSet(object):
if
line
.
startswith
(
'HBOND'
):
section
=
None
continue
# It seems like files? sections? can be terminated with 'END'
if
line
.
startswith
(
'END'
):
# should this be case-insensitive?
section
=
None
continue
# If we have no section, skip
if
section
is
None
:
continue
# Now handle each section specifically
...
...
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