get_cluster_member_count

environment_lib_class.get_cluster_member_count(cluster_id, rsp=None, stateID=None, procID=None, temporary=False, table='registries', unique_full=True)

Count matching registry or full-descriptor rows for one cluster.

Parameters:
  • cluster_id (int) – Cluster identifier to select.

  • rsp (int or sequence of int, optional) – Structure selector: 0 for reactant, 1 for saddle, 2 for product. Filters accept a scalar, a sequence, or None for no restriction. Default: None.

  • stateID (int or sequence of int, optional) – State identifier in /States. Filters accept a scalar, a sequence, or None for no restriction. Default: None.

  • procID (int or sequence of int, optional) – Process identifier within the selected state. Filters accept a scalar, a sequence, or None for no restriction. Default: None.

  • temporary (bool, optional) – Use temporary cluster assignments instead of final cluster assignments. Default: False.

  • table (str, optional) – Count registries rows or mapped full_descriptors rows. Default: 'registries'.

  • unique_full (bool, optional) – Deduplicate full-descriptor IDs before counting. Default: True.

Returns:

int – Number of selected rows, optionally deduplicating full descriptors.