From 0b16a8e6507ce5841cc850ac24482b94a1c06831 Mon Sep 17 00:00:00 2001
From: Martin Craig <martin.craig@eng.ox.ac.uk>
Date: Wed, 24 Oct 2018 19:33:21 +0100
Subject: [PATCH] STDERR flag was previously True by default and wrapper tests
 assume this

---
 fsl/wrappers/wrapperutils.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fsl/wrappers/wrapperutils.py b/fsl/wrappers/wrapperutils.py
index cf452d9ee..40ecfd1f7 100644
--- a/fsl/wrappers/wrapperutils.py
+++ b/fsl/wrappers/wrapperutils.py
@@ -153,7 +153,7 @@ def cmdwrapper(func):
     """
     def wrapper(*args, **kwargs):
         stdout = kwargs.pop('stdout', True)
-        stderr = kwargs.pop('stderr', False)
+        stderr = kwargs.pop('stderr', True)
         exitcode = kwargs.pop('exitcode', False)
         submit = kwargs.pop('submit', None)
         log    = kwargs.pop('log',    {'tee' : True})
@@ -169,7 +169,7 @@ def fslwrapper(func):
     """
     def wrapper(*args, **kwargs):
         stdout = kwargs.pop('stdout', True)
-        stderr = kwargs.pop('stderr', False)
+        stderr = kwargs.pop('stderr', True)
         exitcode = kwargs.pop('exitcode', False)
         submit = kwargs.pop('submit', None)
         log    = kwargs.pop('log',    {'tee' : True})
-- 
GitLab