Home

Documentation

GitHub

List_To_File brick

From a list of files, generation of a single file

Inputs parameters:

  • file_list

    The list of elements to be filtered.

    ex. ['/home/username/data/Anat.nii', '/home/username/data/Func.nii']
    
  • index_filter

    A list of 0 to 1 indexes (integer) for filtering.

    ex.  [1]
    

Outputs parameters:

  • file

    The corresponding filtering result (a file).

    ex. /home/username/data/Anat.nii
    

NOTE: If no index is specified, returns the first element of the list (the index corresponds to the actual position in the list, i.e. there is no “0” index as in python).