Skip to content

Commit 96365df

Browse files
committed
Added newline at the end of command.txt.
1 parent af6716d commit 96365df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/pipeline/engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1343,7 +1343,7 @@ def _run_command(self, execute, copyfiles=True):
13431343
raise
13441344
cmdfile = os.path.join(cwd, 'command.txt')
13451345
fd = open(cmdfile, 'wt')
1346-
fd.writelines(cmd)
1346+
fd.writelines(cmd + "\n")
13471347
fd.close()
13481348
logger.info('Running: %s' % cmd)
13491349
try:

0 commit comments

Comments
 (0)