Skip to content

Commit

Permalink
Minor patch
Browse files Browse the repository at this point in the history
  • Loading branch information
JLittlef committed Feb 20, 2024
1 parent 02a499a commit 35633e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/openmm-runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
pdb = PDBFile(sys.argv[1])
forcefield = ForceField('amber14-all.xml', 'amber14/tip3pfb.xml')
modeller = Modeller(pdb.topology, pdb.positions)
modeller.deleteWater()
residues=modeller.addHydrogens(forcefield)
#modeller.deleteWater()
#residues=modeller.addHydrogens(forcefield)
solvmol=int(sys.argv[4])
modeller.addSolvent(forcefield, numAdded=solvmol)
system = forcefield.createSystem(modeller.topology, nonbondedMethod=PME, nonbondedCutoff=1.0*nanometer, constraints=HBonds)
Expand Down

0 comments on commit 35633e6

Please sign in to comment.