Generate all ancestors of the Compound recursively.
mb.Compound – The next Compound above self in the hierarchy
PTP.ancestors()
mbuild_polybuild.aa_functional_groups.ptp.PTP.all_ports
mbuild_polybuild.aa_functional_groups.ptp.PTP.available_ports