Commit 695125cc by peastman

Bug fix

parent 2a816abe
...@@ -321,8 +321,8 @@ class PDBFixer(object): ...@@ -321,8 +321,8 @@ class PDBFixer(object):
# convert from entities to chains. # convert from entities to chains.
asymData = block.getObj('struct_asym') asymData = block.getObj('struct_asym')
if asymData is not None:
self.sequences = [] self.sequences = []
if asymData is not None:
asymIdCol = asymData.getAttributeIndex('id') asymIdCol = asymData.getAttributeIndex('id')
entityIdCol = asymData.getAttributeIndex('entity_id') entityIdCol = asymData.getAttributeIndex('entity_id')
for row in asymData.getRowList(): for row in asymData.getRowList():
......
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