Commit 42b7ccd3 authored by peastman's avatar peastman
Browse files

Merge pull request #1276 from rafwiewiora/multi_model_conect

Add CONECT bonds for multi-model pdb files 
parents 83cfc856 a56ba941
......@@ -154,7 +154,7 @@ class PDBFile(object):
# Add bonds based on CONECT records.
connectBonds = []
for connect in pdb.models[0].connects:
for connect in pdb.models[-1].connects:
i = connect[0]
for j in connect[1:]:
if i in atomByNumber and j in atomByNumber:
......
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