Skip to content

Commit

Permalink
Implement remediation against wrong CS annotation confusing Entity_as…
Browse files Browse the repository at this point in the history
…sembly_ID as Comp_index_ID (2lrc)
  • Loading branch information
yokochi47 committed Mar 29, 2024
1 parent 1b74793 commit 98646a3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions wwpdb/utils/nmr/NEFTranslator/NEFTranslator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1503,6 +1503,14 @@ def skip_empty_value_error(lp, idx):
if row[2] in emptyValue:
has_valid_chain_id = False
break
if has_valid_chain_id:
wrong_chain_id_anno = True
for row in seq_data:
if row[0] != row[2]:
wrong_chain_id_anno = False
break
if wrong_chain_id_anno:
has_valid_chain_id = False
if not has_valid_chain_id:
seq_data = get_lp_tag(loop, tags__)
for row in seq_data:
Expand Down

0 comments on commit 98646a3

Please sign in to comment.