20
20
from ...utils .filemanip import (load_json , save_json , split_filename )
21
21
from ..base import (
22
22
CommandLineInputSpec , CommandLine , Directory , TraitedSpec ,
23
- traits , isdefined , File , InputMultiPath , Undefined )
23
+ traits , isdefined , File , InputMultiPath , Undefined , Str )
24
24
25
25
from .base import (
26
26
AFNICommandBase , AFNICommand , AFNICommandInputSpec , AFNICommandOutputSpec ,
@@ -3013,26 +3013,26 @@ 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" )
3034
- out_file = File (desc = " output image file name" ,
3035
- argstr = "%s" )
3022
+ add = Str (desc = ' note to add' ,
3023
+ argstr = ' -a "%s"' )
3024
+ add_history = Str (desc = ' note to add to history' ,
3025
+ argstr = ' -h "%s"' ,
3026
+ xor = [' rep_history' ])
3027
+ rep_history = 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
+ out_file = File (desc = ' output image file name' ,
3035
+ argstr = '%s' )
3036
3036
3037
3037
3038
3038
class Notes (CommandLine ):
@@ -3051,7 +3051,7 @@ class Notes(CommandLine):
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
- " 3dNotes -a ' This note is added.' -h ' This note is added to history.' functional.HEAD"
3054
+ ' 3dNotes -a " This note is added." -h " This note is added to history." functional.HEAD'
3055
3055
>>> res = notes.run() # doctest: +SKIP
3056
3056
"""
3057
3057
0 commit comments