File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -3483,12 +3483,17 @@ class Qwarp(AFNICommand):
34833483 >>> qwarp3.inputs.allineate = True
34843484 >>> qwarp3.inputs.allineate_opts = '-cose lpa -verb'
34853485 >>> qwarp3.cmdline # doctest: +ALLOW_UNICODE
3486- "3dQwarp -base mni.nii - allineate -allineate_opts '-cost lpa -verb'"
3486+ "3dQwarp -allineate -allineate_opts '-cose lpa -verb' -base mni.nii -source structural.nii -prefix structural_QW "
34873487 >>> res3 = qwarp3.run() # doctest: +SKIP """
34883488 _cmd = '3dQwarp'
34893489 input_spec = QwarpInputSpec
34903490 output_spec = QwarpOutputSpec
34913491
3492+ def _format_arg (self , name , spec , value ):
3493+ if name == 'allineate_opts' :
3494+ return spec .argstr % ("'" + value + "'" )
3495+ return super (Qwarp , self )._format_arg (name , spec , value )
3496+
34923497 def _list_outputs (self ):
34933498 outputs = self .output_spec ().get ()
34943499
You can’t perform that action at this time.
0 commit comments