split_structure_into_groups

split_structure_into_groups#

autoplex.data.rss.utils.split_structure_into_groups(structures, num_groups)[source]#

Split a list of structures into several groups, with each group being its own list.

Parameters:
  • structures (list) – List of structures

  • num_groups (int) – Number of structure groups, used for assigning tasks across multiple nodes, with each node handling one group.

Return type:

list[list]