Determine expected output files for a postprocessing stream
Source:R/setup_postprocess.R
get_postproc_stream_outputs.Rd
Given a directory of candidate input files and a specification for
matching those inputs, this function returns the full paths to the
corresponding postprocessed NIfTI files. The output filenames are
derived by replacing the desc
entity in each input file with the
stream's bids_desc
value.
Arguments
- input_dir
Directory containing the input NIfTI files to be postprocessed.
- input_regex
Specification used to match the input files. This may be a space-separated set of BIDS entities (e.g., "desc:preproc suffix:bold") or a regular expression prefixed with "regex:".
- bids_desc
The
desc
value to use for the output filenames.