Skip to content

Commit

Permalink
Merge pull request #325 from OHBA-analysis/matsvanes-patch-1
Browse files Browse the repository at this point in the history
Update batch.py
  • Loading branch information
matsvanes authored Jul 31, 2024
2 parents 80baa11 + afa9163 commit 4158fbd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions osl/preprocessing/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,11 @@ def run_proc_batch(
files : str or list or mne.Raw
Can be a list of Raw objects or a list of filenames (or ``.ds`` dir names if CTF data)
or a path to a textfile list of filenames (or ``.ds`` dir names if CTF data).
outnames: None or list of str
output names of the preprocessed files. If None (default), they will be automatically
determined.
ftype: None or str
Extension of the preprocessed fif files. Default option is `_preproc_raw`.
outdir : str
Output directory. If processing multiple files, they can
be put in unique sub directories by including ``{x:0}`` at
Expand Down Expand Up @@ -995,6 +1000,7 @@ def run_proc_batch(
pool_func = partial(
run_proc_chain,
outdir=outdir,
ftype=ftype,
logsdir=logsdir,
reportdir=reportdir,
ret_dataset=False,
Expand Down

0 comments on commit 4158fbd

Please sign in to comment.