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