tedana.io.str_to_component_list

str_to_component_list(s: str) List[int][source]

Convert a string to a list of component indices.

Parameters:

s (str) – The string to convert into a list of component indices.

Returns:

List[int] of component indices.

Raises:

ValueError, if the string cannot be split by an allowed delimeter