Generate all ancestors of the Compound recursively.
mb.Compound – The next Compound above self in the hierarchy
Methacrylate.ancestors()
mbuild_polybuild.aa_monomers.methacrylate.Methacrylate.all_ports
mbuild_polybuild.aa_monomers.methacrylate.Methacrylate.available_ports