Hi All,
just FYI , the NmrResiduePopup creates nmrAtoms automatically with the same names as the spectrum axisCodes. You can change this on the spectrum popup (double click on a spectrum on sidebar). This obviously will not change now your nmrAtoms.
This is a quick macro to rename all your H and N nmrAtoms in the project.
Copy and paste this on the Python console and press enter:
=========
from ccpn.core.lib.ContextManagers import undoBlock
names = {`Hn`: `H`, `Nh`: `N`} #{old:new}
with undoBlock():[na.rename(names.get(na.name)) for na in project.nmrAtoms if na.name in names]
========
Close and reopen the SequenceGraph.
I hope this help for carrying on.
Best,
Luca