Skip to content

Commit

Permalink
Fix for previous commit: Implement remediation against wrong CS annot…
Browse files Browse the repository at this point in the history
…ation confusing Entity_assembly_ID as Comp_index_ID (2le7)
  • Loading branch information
yokochi47 committed Apr 2, 2024
1 parent f2442b4 commit d471c0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wwpdb/utils/nmr/NEFTranslator/NEFTranslator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1513,6 +1513,9 @@ def skip_empty_value_error(lp, idx):
wrong_chain_id_anno = True
offset = None
for row in seq_data:
if not row[2].isdigit():
wrong_chain_id_anno = False
break
if offset is None:
offset = int(row[0]) - int(row[2])
continue
Expand Down

0 comments on commit d471c0c

Please sign in to comment.