Skip to content

Commit 6a73726

Browse files
committed
FIX: add xor to save-yhat and save-yhat-with-noise
1 parent 5f147c1 commit 6a73726

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nipype/interfaces/freesurfer/petsurfer.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,13 +347,16 @@ class GTMPVCInputSpec(FSTraitedSpec):
347347
save_eres = traits.Bool(argstr="--save-eres", desc="saves residual error")
348348

349349
save_yhat = traits.Bool(
350-
argstr="--save-yhat", desc="save signal estimate (yhat) smoothed with the PSF"
350+
argstr="--save-yhat",
351+
xor=["save_yhat_with_noise"],
352+
desc="save signal estimate (yhat) smoothed with the PSF"
351353
)
352354

353355
save_yhat_with_noise = traits.Tuple(
354356
traits.Int,
355357
traits.Int,
356358
argstr="--save-yhat-with-noise %i %i",
359+
xor=["save_yhat"],
357360
desc="seed nreps : save signal estimate (yhat) with noise"
358361
)
359362

0 commit comments

Comments
 (0)