Working on Sec5Part2.ccpn:
peak = project.getByPid 'SP:hnca').peakLists[0].peaks[0]
nmrResidue = project.getByPid('NR:@-.@1.')
nmrAtom = nmrResidue.fetchNmrAtom(name='CA')
The following works, even though nmrAtom.isotopeCode = ‘13C’:
peak.assignDimension(axisCode=‘Hn', value=[nmrAtom])
So after the above, peak.dimensionNmrAtoms gives:
((ccpn.core.NmrAtom:@-.@1..CA,),
(ccpn.core.NmrAtom:@-.@1..CA,),
(ccpn.core.NmrAtom:@-.@1..N,))
Fixed (in Rasmus Branch). Passed to Wayne for testing
Tested in rasmus branch and is ok now (in that branch).