Skip to content

Commit

Permalink
DAOTHER-8905: Correctable atom nomenclature mismatch should be allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
yokochi47 committed Jan 21, 2025
1 parent a03b994 commit dfc4ae8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion wwpdb/utils/nmr/NmrDpUtility.py
Original file line number Diff line number Diff line change
Expand Up @@ -46960,7 +46960,11 @@ def get_coord_atom_site_of(chain_id, seq_id, comp_id):
if seq_key in coord_unobs_atom and atom_id_ in coord_unobs_atom[seq_key]['atom_ids']:
coord_issue = True

if content_subtype.startswith('spectral_peak'):
_atom_id, _, _ = self.__getAtomIdListWithAmbigCode(comp_id, atom_id_ + '%')

if content_subtype.startswith('spectral_peak')\
or (len(_atom_id) > 0 and coord_atom_site_ is not None and _atom_id[0] in coord_atom_site_['atom_id']):

self.report.warning.appendDescription('atom_nomenclature_mismatch',
{'file_name': file_name, 'sf_framecode': sf_framecode, 'category': lp_category,
'description': err})
Expand Down

0 comments on commit dfc4ae8

Please sign in to comment.