Skip to content

Commit 9e5d786

Browse files
committed
bug, added 'priors/' prefix to -p flag
1 parent 25c8064 commit 9e5d786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/ants/segmentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ def _format_arg(self, opt, spec, val):
487487
return retval
488488
if opt == 'segmentation_priors':
489489
_, _, ext = split_filename(self.inputs.segmentation_priors[0])
490-
retval = "-p BrainSegmentationPrior%02d"
490+
retval = "-p priors/BrainSegmentationPrior%02d"
491491
retval += ext
492492
return retval
493493
return super(ANTSCommand, self)._format_arg(opt, spec, val)

0 commit comments

Comments
 (0)