batched_indices

openff.qcsubmit.results.caching.batched_indices(indices, batch_size)[source]

Split a list of indices into batches.

Parameters
  • indices (List[openff.qcsubmit.results.caching.T]) – The indices to split.

  • batch_size (int) – The size to split the indices into.

Returns

A list of list batches of indices.

Return type

List[List[openff.qcsubmit.results.caching.T]]