Skip to content

Commit 5f147c1

Browse files
committed
FIX: rbv requires subject_dir to be specified
1 parent df6f48b commit 5f147c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nipype/interfaces/freesurfer/petsurfer.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,9 @@ class GTMPVCInputSpec(FSTraitedSpec):
282282
desc="set the tissue fraction resolution parameter (def is 0.5)",
283283
)
284284

285-
rbv = traits.Bool(argstr="--rbv", desc="perform RBV PVC")
285+
rbv = traits.Bool(argstr="--rbv",
286+
requires=["subjects_dir"],
287+
desc="perform RBV PVC")
286288

287289
rbv_res = traits.Float(
288290
argstr="--rbv-res %f",

0 commit comments

Comments
 (0)