Hi,
I am trying to extract the chemicalShift uniqueId in a macro.
I thought something like:
cs = get(CS:default.A.4.LYS.H)
cs.uniqueId
should do the job. However, when I define the CS as above I get an empty string in return.
If I do
cs = get(CS:default.10)
cs.uniqueId
I get 10 as expected.
Ultimately I would like to extract the uniqueId for a chemical shift for an atom in a peak. I thought I can use
peak.getByDimensions
somehow but I am getting stuck.
In summary what I am trying to do it:
- read in a peak from a peaklist
- get the uniqueId for chemical shift of the assignednmrAtom in each dimension.
Thanks,
Józef