Commit d47cb004 authored by Jason Swails's avatar Jason Swails
Browse files

Pass the custom force particle as a tuple of 1 parameter, rather than just as a

single parameter.
parent 8dda27f7
......@@ -1332,7 +1332,7 @@ class CharmmPsfFile(object):
cforce.setUseSwitchingFunction(True)
cforce.setSwitchingDistance(switchDistance)
for i in lj_idx_list:
cforce.addParticle(i - 1) # adjust for indexing from 0
cforce.addParticle((i - 1,)) # adjust for indexing from 0
# Add 1-4 interactions
excluded_atom_pairs = set() # save these pairs so we don't zero them out
......
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