( skeleton_id_list, project_id, edgecount = 10)
return compartmentalize_skeletongroup( skeleton_id_list, project_id, edgecount = edgecount )
Collapses all skeleton edges between leaf, branch and pre- and postsynaptic nodes. Then cut the resulting
    skeleton at edges which have a count of collapsed edges strictly bigger than the edgecount parameters.

    This allows to compartmentalize a skeleton based on 'uninteresting' cable without synaptic sites or branch
    characteristics.
Collapses all skeleton edges between leaf, branch and pre- and postsynaptic nodes. Then cut the resulting
    skeleton at edges which have a count of collapsed edges strictly bigger than the edgecount parameters.
Collapses all skeleton edges between leaf branch and pre - and postsynaptic nodes . Then cut the resulting skeleton at edges which have a count of collapsed edges strictly bigger than the edgecount parameters .
def compartmentalize_skeletongroup_by_edgecount( skeleton_id_list, project_id, edgecount = 10):
    """ Collapses all skeleton edges between leaf, branch and pre- and postsynaptic nodes. Then cut the resulting
    skeleton at edges which have a count of collapsed edges strictly bigger than the edgecount parameters.

    This allows to compartmentalize a skeleton based on 'uninteresting' cable without synaptic sites or branch
    characteristics. """
    # TODO: add XY or XZ projection planes to position the compartment clusters with a proxy of its
    # physical location in the stack

    return compartmentalize_skeletongroup( skeleton_id_list, project_id, edgecount = edgecount )
def compartmentalize_skeletongroup_by_edgecount ( skeleton_id_list , project_id , edgecount = 10 ) : # TODO: add XY or XZ projection planes to position the compartment clusters with a proxy of its # physical location in the stack return compartmentalize_skeletongroup ( skeleton_id_list , project_id , edgecount = edgecount )