tedana.io.fname_to_component_list

fname_to_component_list(fname: str) → List[int][source]

Read a file of component indices.

Parameters:

fname (str) – The name of the file to read the list of component indices from.

Returns:

List[int] of component indices.

Raises:
  • ValueError, if the string cannot be split by an allowed delimeter or the –

  • csv file cannot be interpreted. –