Skip to content

Commit 9a37927

Browse files
committed
Add missing --use_template_anat argument to fix AttributeError
1 parent d6ba06e commit 9a37927

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

petdeface/petdeface.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,6 +1371,14 @@ def cli():
13711371
required=False,
13721372
default=[],
13731373
)
1374+
parser.add_argument(
1375+
"--use_template_anat",
1376+
help="Use template anatomical image when no T1w is available for PET scans. Options: 't1' (included T1w template), 'mni' (MNI template), or 'pet' (averaged PET image).",
1377+
type=str,
1378+
choices=["t1", "mni", "pet"],
1379+
required=False,
1380+
default=None,
1381+
)
13741382
parser.add_argument(
13751383
"--open-browser",
13761384
"--open_browser",

0 commit comments

Comments
 (0)