Skip to content
Snippets Groups Projects
Commit bd05a1d2 authored by Gerardo Tauriello's avatar Gerardo Tauriello
Browse files

Bugfix: avoid using undefined attribute

parent c3da1980
No related branches found
No related tags found
No related merge requests found
......@@ -541,7 +541,7 @@ def _ReadStructureFile(path, c_alpha_only=False, fault_tolerant=False,
calpha_only=c_alpha_only)
if len(cif_info.biounits) == 0:
tbu = MMCifInfoBioUnit()
tbu.id = 'ASU of ' + entity.pdb_id
tbu.id = 'ASU'
tbu.details = 'asymmetric unit'
for chain in tmp_entity.chains:
tbu.AddChain(str(chain))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment