mbuild_polybuild.aa_fragments.c_quaternary.C.n_direct_bonds

property C.n_direct_bonds

Return the number of bonds a particle is directly involved in.

This method should only be used on on compounds at the bottom of their hierarchy (i.e. a particle).

Returns:

The number of compounds this compound is directly bonded to.

Return type:

int