mbuild_polybuild.aa_functional_groups.ammonium.Ammonium.ancestors

Ammonium.ancestors()

Generate all ancestors of the Compound recursively.

Yields:

mb.Compound – The next Compound above self in the hierarchy