You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
output_dir The directory where the output files should be stored, if not supplied will default to <bids_dir>/derivatives/petdeface
47
-
analysis_level This BIDS app always operates at the participant level, if this argument is changed it will be ignored and run as a participant level analysis
49
+
analysis_level This BIDS app always operates at the participant level, if this argument is changed it will be ignored and run as a participant level
The label(s) of the participant/subject to be processed. When specifying multiple subjects separate them with spaces.
54
-
--session SESSION, -ses SESSION
55
-
The label of the session to be processed.
56
57
--docker, -d Run in docker container
57
58
--singularity, -si Run in singularity container
58
59
--n_procs N_PROCS Number of processors to use when running the workflow
59
60
--skip_bids_validator
60
61
--version, -v show program's version number and exit
61
62
--placement PLACEMENT, -p PLACEMENT
62
-
Where to place the defaced images. Options are 'adjacent': next to the bids_dir (default) in a folder appended with _defaced'inplace': defaces the dataset in place, e.g. replaces faced PET and T1w images w/ defaced at bids_dir'derivatives': does all of the
63
-
defacing within the derivatives folder in bids_dir.
63
+
Where to place the defaced images. Options are 'adjacent': next to the bids_dir (default) in a folder appended with _defaced'inplace':
64
+
defaces the dataset in place, e.g. replaces faced PET and T1w images w/ defaced at bids_dir'derivatives': does all of the defacing within
65
+
the derivatives folder in bids_dir.
64
66
--remove_existing, -r
65
67
Remove existing output files in output_dir.
66
68
--preview_pics Create preview pictures of defacing, defaults to false for docker
output_dir The directory where the output files should be stored, if not supplied will default to <bids_dir>/derivatives/petdeface
98
-
analysis_level This BIDS app always operates at the participant level, if this argument is changed it will be ignored and run as a participant level analysis
The label(s) of the participant/subject to be processed. When specifying multiple subjects separate them with spaces.
105
-
--session SESSION, -ses SESSION
106
-
The label of the session to be processed.
107
-
--docker, -d Run in docker container
108
-
--singularity, -si Run in singularity container
109
-
--n_procs N_PROCS Number of processors to use when running the workflow
110
-
--skip_bids_validator
111
-
--version, -v show program's version number and exit
112
-
--placement PLACEMENT, -p PLACEMENT
113
-
Where to place the defaced images. Options are 'adjacent': next to the bids_dir (default) in a folder appended with _defaced'inplace': defaces the dataset in place, e.g. replaces faced PET and T1w images w/ defaced at bids_dir'derivatives': does all of the
114
-
defacing within the derivatives folder in bids_dir.
115
-
--remove_existing, -r
116
-
Remove existing output files in output_dir.
117
-
--preview_pics Create preview pictures of defacing, defaults to false for docker
help="Exclude a subject(s) from the defacing workflow. e.g. --excludeparticipant sub-01 sub-02",
914
+
"--exclude_participant",
915
+
help="Exclude a subject(s) from the defacing workflow. e.g. --exclude_participant sub-01 sub-02",
891
916
type=str,
892
917
nargs="+",
893
918
required=False,
894
919
default=[],
895
920
)
921
+
parser.add_argument("--session", help="Select only a specific session(s) to include in the defacing workflow", type=str, nargs="+", required=False, default=[])
922
+
parser.add_argument("--exclude_session", help="Select a specific session(s) to exclude from the defacing workflow", type=str, nargs="+", required=False, default=[])
0 commit comments