@@ -3013,24 +3013,24 @@ class QualityIndex(CommandLine):
3013
3013
3014
3014
3015
3015
class NotesInputSpec (AFNICommandInputSpec ):
3016
- in_file = File (desc = " input file to 3dNotes" ,
3017
- argstr = "%s" ,
3016
+ in_file = File (desc = ' input file to 3dNotes' ,
3017
+ argstr = '%s' ,
3018
3018
position = - 1 ,
3019
3019
mandatory = True ,
3020
3020
exists = True ,
3021
3021
copyfile = False )
3022
- add = traits .Str (desc = " note to add" ,
3023
- argstr = " -a '%s'" )
3024
- add_history = traits .Str (desc = " note to add to history" ,
3025
- argstr = " -h '%s'" ,
3026
- xor = [" rep_history" ])
3027
- rep_history = traits .Str (desc = " note with which to replace history" ,
3028
- argstr = " -HH '%s'" ,
3029
- xor = [" add_history" ])
3030
- delete = traits .Int (desc = " delete note number num" ,
3031
- argstr = " -d %d" )
3032
- ses = traits .Bool (desc = " print to stdout the expanded notes" ,
3033
- argstr = " -ses" )
3022
+ add = traits .Str (desc = ' note to add' ,
3023
+ argstr = ' -a "%s"' )
3024
+ add_history = traits .Str (desc = ' note to add to history' ,
3025
+ argstr = ' -h "%s"' ,
3026
+ xor = [' rep_history' ])
3027
+ rep_history = traits .Str (desc = ' note with which to replace history' ,
3028
+ argstr = ' -HH "%s"' ,
3029
+ xor = [' add_history' ])
3030
+ delete = traits .Int (desc = ' delete note number num' ,
3031
+ argstr = ' -d %d' )
3032
+ ses = traits .Bool (desc = ' print to stdout the expanded notes' ,
3033
+ argstr = ' -ses' )
3034
3034
out_file = File (desc = 'output image file name' ,
3035
3035
argstr = '%s' )
3036
3036
@@ -3045,14 +3045,14 @@ class Notes(CommandLine):
3045
3045
Examples
3046
3046
========
3047
3047
3048
- >>> from nipype.interfaces import afni as afni
3048
+ >>> from nipype.interfaces import afni
3049
3049
>>> notes = afni.Notes()
3050
3050
>>> notes.inputs.in_file = "functional.HEAD"
3051
3051
>>> notes.inputs.add = "This note is added."
3052
3052
>>> notes.inputs.add_history = "This note is added to history."
3053
3053
>>> notes.cmdline #doctest: +IGNORE_UNICODE
3054
3054
'3dNotes -a "This note is added." -h "This note is added to history." functional.HEAD'
3055
- >>> res = notes.run() # doctest: +SKIP
3055
+ >>> res = notes.run() # doctest: +SKIP
3056
3056
"""
3057
3057
3058
3058
_cmd = '3dNotes'
@@ -3061,5 +3061,5 @@ class Notes(CommandLine):
3061
3061
3062
3062
def _list_outputs (self ):
3063
3063
outputs = self .output_spec ().get ()
3064
- outputs [" out_file" ] = os .path .abspath (self .inputs .in_file )
3064
+ outputs [' out_file' ] = os .path .abspath (self .inputs .in_file )
3065
3065
return outputs
0 commit comments