Skip to content

Commit 87125d5

Browse files
committed
We don't use details to set SeqDif type any more
1 parent beee33e commit 87125d5

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

ihm/reader.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,11 +1432,10 @@ def __call__(self, align_id, seq_num: int, pdbx_seq_db_seq_num: int,
14321432
# db_seq_id isn't exposed in the base class constructor
14331433
sd.db_seq_id = pdbx_seq_db_seq_num
14341434
# Set more appropriate type if possible
1435-
if details:
1436-
if monomer and not db_monomer:
1437-
sd.__class__ = ihm.reference.InsertionSeqDif
1438-
elif db_monomer and not monomer:
1439-
sd.__class__ = ihm.reference.DeletionSeqDif
1435+
if monomer and not db_monomer:
1436+
sd.__class__ = ihm.reference.InsertionSeqDif
1437+
elif db_monomer and not monomer:
1438+
sd.__class__ = ihm.reference.DeletionSeqDif
14401439
align.seq_dif.append(sd)
14411440

14421441

0 commit comments

Comments
 (0)