Skip to content

Commit

Permalink
bids-filter-file arg
Browse files Browse the repository at this point in the history
  • Loading branch information
dmd committed Oct 28, 2024
1 parent abcfcdd commit 2c67b38
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions iris/iris-fmriprep.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def submit_fmriprep(config, studydir, subject):
s += ["--" + arg]
for arg in (
"anat-derivatives",
"bids-filter-file",
"fmriprep-version",
"ignore",
"ncpus",
Expand Down
9 changes: 9 additions & 0 deletions micc_fmriprep.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ def make_runscript(args, workdir):
if args.anat_derivatives:
s += [f"--anat-derivatives {args.anat_derivatives}"]

if args.bids_filter_file:
s += [f"--bids-filter-file {args.bids_filter_file}"]

if args.fs_subjects_dir:
s += [f"--fs-subjects-dir {args.fs_subjects_dir}"]

Expand Down Expand Up @@ -188,6 +191,12 @@ def is_dir(dirname):
metavar="PATH",
)

parser.add_argument(
"--bids-filter-file",
help="A JSON file describing custom BIDS input filters using PyBIDS.",
metavar="FILE",
)

parser.add_argument(
"--fs-subjects-dir",
help="Path to existing FreeSurfer subjects directory to reuse.",
Expand Down

0 comments on commit 2c67b38

Please sign in to comment.