Commit dea037c3 authored by Peter Eastman's avatar Peter Eastman
Browse files

Bug fix

parent 95aa4823
......@@ -130,7 +130,7 @@ class PDBFile(object):
# Add bonds based on CONECT records.
connectBonds = []
for connect in pdb.get_model(0).connects:
for connect in pdb.models[0].connects:
i = connect[0]
for j in connect[1:]:
connectBonds.append((atomByNumber[i], atomByNumber[j]))
......
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