Skip to content

Commit a9bc5b2

Browse files
committed
Merge pull request #968 from nipy/FixSEMGenerationWithoutRedirect_x
BUG: Need to propogate command line to behavior
2 parents 2e578e0 + 9116d24 commit a9bc5b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/slicer/generate_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def generate_class(module, launcher, strip_module_name_prefix=True, redirect_x =
305305
output_spec = %module_name%OutputSpec
306306
_cmd = "%launcher% %name% "
307307
%output_filenames_code%\n"""
308-
template += " _redirect_x = True\n"
308+
template += " _redirect_x = {0}\n".format(str(redirect_x))
309309

310310

311311
main_class = template.replace('%class_str%', class_string).replace("%module_name%", module_name).replace("%name%", module).replace("%output_filenames_code%", output_filenames_code).replace("%launcher%", " ".join(launcher))

0 commit comments

Comments
 (0)