Skip to content

Commit

Permalink
DAOTHER-8905: Fix the previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
yokochi47 committed Feb 17, 2025
1 parent 47ce04a commit 143733b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions wwpdb/utils/nmr/ann/BMRBAnnTasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2041,6 +2041,8 @@ def is_natural_abundance(isotopic_labeling: str):

if row[5] not in emptyValue:
has_assign = True
if _idx > 10:
break

elif num_of_dim == 4:
dat = lp.get_tag(tags_4d)
Expand Down Expand Up @@ -2068,6 +2070,8 @@ def is_natural_abundance(isotopic_labeling: str):

if row[6] not in emptyValue:
has_assign = True
if _idx > 10:
break

sp_info[idx]['has_volume'] = has_volume
sp_info[idx]['has_height'] = has_height
Expand Down Expand Up @@ -2127,6 +2131,11 @@ def is_natural_abundance(isotopic_labeling: str):
'volume': volume,
'height': height})

for _idx in range(num_of_dim):
position[_idx] = None
else:
break

sp_info[idx]['has_volume'] = has_volume
sp_info[idx]['has_height'] = has_height
sp_info[idx]['has_assign'] = False
Expand Down

0 comments on commit 143733b

Please sign in to comment.