Commit aac359dc authored by John Chodera (MSKCC)'s avatar John Chodera (MSKCC)
Browse files

Fixed bug in app where 'useDispersionCorrection' for AMOEBA was being cast to int instead of bool.

parent 5ed9dd65
...@@ -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)
......
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