Skip to content

Commit e8b0365

Browse files
committed
Fix single vs. double quotes issue.
1 parent e545b53 commit e8b0365

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

nipype/interfaces/afni/preprocess.py

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3013,24 +3013,24 @@ class QualityIndex(CommandLine):
30133013

30143014

30153015
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',
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")
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')
30343034
out_file = File(desc='output image file name',
30353035
argstr='%s')
30363036

@@ -3045,14 +3045,14 @@ class Notes(CommandLine):
30453045
Examples
30463046
========
30473047
3048-
>>> from nipype.interfaces import afni as afni
3048+
>>> from nipype.interfaces import afni
30493049
>>> notes = afni.Notes()
30503050
>>> notes.inputs.in_file = "functional.HEAD"
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
30543054
'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
30563056
"""
30573057

30583058
_cmd = '3dNotes'
@@ -3061,5 +3061,5 @@ class Notes(CommandLine):
30613061

30623062
def _list_outputs(self):
30633063
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)
30653065
return outputs

0 commit comments

Comments
 (0)