tedana.workflows.parser_utils.parse_manual_list_int
- parse_manual_list_int(manual_list)[source]
Parse the list of components to accept or reject into a list of integers.
- Parameters:
manual_list (
strlist[str]intlist[int]or [] or None) – String of integers separated by commas A file name for a file that contains integers- Returns:
manual_nums (
list[int]) – A list of integers or an empty list.
Note
Do not need to check if integers are less than 0 or greater than the total number of components here, because it is later checked in selectcomps2use and a descriptive error message will appear there