Skip to content

Commit

Permalink
DAOTHER-9158: Fix some blanks in the first line of CS loop when the f…
Browse files Browse the repository at this point in the history
…irst atom is not mapped
  • Loading branch information
yokochi47 committed Mar 8, 2024
1 parent c62dad7 commit fa12c7d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions wwpdb/utils/nmr/NmrDpUtility.py
Original file line number Diff line number Diff line change
Expand Up @@ -24652,6 +24652,8 @@ def fill_cs_row(lp, index, _row, prefer_auth_atom_name, coord_atom_site, _seq_ke

regenerate_request = False # DAOTHER-9065

can_auth_asym_id_mapping_failed = False # DAOTHER-9158

lp.clear_data()

index = 1
Expand Down Expand Up @@ -25505,6 +25507,10 @@ def test_seq_id_offset(lp, index, row, _row, _idx, chain_id, seq_id, comp_id, of
break

if not resolved and chain_id in can_auth_asym_id_mapping: # DAOTHER-8751, 8755

if can_auth_asym_id_mapping_failed: # DAOTHER-9158
regenerate_request = True

mapping = can_auth_asym_id_mapping[chain_id]

auth_asym_id = mapping['auth_asym_id']
Expand Down Expand Up @@ -25595,6 +25601,8 @@ def test_seq_id_offset(lp, index, row, _row, _idx, chain_id, seq_id, comp_id, of

if not resolved and seq_id is not None and has_coordinate:

can_auth_asym_id_mapping_failed = True # DAOTHER-9158

def test_seq_id_offset_as_is(lp, index, _row, _idx, chain_id, seq_id, comp_id, offset):
_resolved = False
_index = index
Expand Down

0 comments on commit fa12c7d

Please sign in to comment.