mbuild_polybuild.aa_functional_groups.phenyl.Phenyl.remove

Phenyl.remove(objs_to_remove, reset_labels=False)

Remove children from the Compound cleanly.

Parameters:
  • objs_to_remove (mb.Compound or list of mb.Compound) – The Compound(s) to be removed from self

  • reset_labels (bool, optional, default=False) – If True, the Compound labels will be reset