2020from ...utils .filemanip import (load_json , save_json , split_filename )
2121from ..base import (
2222 CommandLineInputSpec , CommandLine , Directory , TraitedSpec ,
23- traits , isdefined , File , InputMultiPath , Undefined )
23+ traits , isdefined , File , InputMultiPath , Undefined , Str )
2424
2525from .base import (
2626 AFNICommandBase , AFNICommand , AFNICommandInputSpec , AFNICommandOutputSpec ,
@@ -3013,26 +3013,26 @@ class QualityIndex(CommandLine):
30133013
30143014
30153015class 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' ,
30183018 position = - 1 ,
30193019 mandatory = True ,
30203020 exists = True ,
30213021 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' )
30363036
30373037
30383038class Notes (CommandLine ):
@@ -3051,7 +3051,7 @@ class Notes(CommandLine):
30513051 >>> notes.inputs.add = "This note is added."
30523052 >>> notes.inputs.add_history = "This note is added to history."
30533053 >>> 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'
30553055 >>> res = notes.run() # doctest: +SKIP
30563056 """
30573057
0 commit comments