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
aac359dc
Commit
aac359dc
authored
May 04, 2014
by
John Chodera (MSKCC)
Browse files
Fixed bug in app where 'useDispersionCorrection' for AMOEBA was being cast to int instead of bool.
parent
5ed9dd65
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/forcefield.py
wrappers/python/simtk/openmm/app/forcefield.py
+1
-1
No files found.
wrappers/python/simtk/openmm/app/forcefield.py
View file @
aac359dc
...
@@ -2939,7 +2939,7 @@ class AmoebaVdwGenerator:
...
@@ -2939,7 +2939,7 @@ class AmoebaVdwGenerator:
# dispersion correction
# dispersion correction
if
(
'useDispersionCorrection'
in
args
):
if
(
'useDispersionCorrection'
in
args
):
force
.
setUseDispersionCorrection
(
int
(
args
[
'useDispersionCorrection'
]))
force
.
setUseDispersionCorrection
(
bool
(
args
[
'useDispersionCorrection'
]))
if
(
nonbondedMethod
==
PME
):
if
(
nonbondedMethod
==
PME
):
force
.
setNonbondedMethod
(
mm
.
AmoebaVdwForce
.
CutoffPeriodic
)
force
.
setNonbondedMethod
(
mm
.
AmoebaVdwForce
.
CutoffPeriodic
)
...
...
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