We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9716eb commit ce20aa7Copy full SHA for ce20aa7
nipype/interfaces/freesurfer/petsurfer.py
@@ -491,18 +491,20 @@ class GTMPVC(FSCommand):
491
output_spec = GTMPVCOutputSpec
492
493
def _format_arg(self, name, spec, val):
494
+ # Values taken from
495
+ # https://github.com/freesurfer/freesurfer/blob/fs-7.2/mri_gtmpvc/mri_gtmpvc.cpp#L115-L122
496
if name == 'optimization_schema':
497
return (
498
spec.argstr
499
% {
- "3D": 0,
- "2D": 1,
500
- "1D": 2,
501
- "3D_MB": 3,
502
- "2D_MB": 4,
503
- "1D_MB": 5,
504
- "MBZ": 6,
505
- "MB3": 7,
+ "3D": 1,
+ "2D": 2,
+ "1D": 3,
+ "3D_MB": 4,
+ "2D_MB": 5,
+ "1D_MB": 6,
506
+ "MBZ": 7,
507
+ "MB3": 8,
508
}[val]
509
)
510
return super(GTMPVC, self)._format_arg(name, spec, val)
0 commit comments