The next level of chain is a list of residues. The first argument of
MMapNextLevel should be a function which argument is a residue.
Lets add a new desciptor giving the coordinates of each residue:
We can check the addition of the new descriptor on the first residue:
We can check the addition of the new descriptor value on every residues:
But we can also submit a chain to a modification of its atoms using the level specification. Lets add a new desciptor giving the distance to the origin to all atoms of the chain. For so, we set
hexprlev the level of application of the function to be
"Atom":
We can check the addition of the new descriptor on the first atom:
and we can check its value: