From 7e72d699664103f6d5c0a374cee65e6e39e667fe Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Sat, 17 Jun 2017 10:25:09 -0700 Subject: [PATCH] Fix to callfsl - python 2/3 compatibility --- fsl/utils/callfsl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsl/utils/callfsl.py b/fsl/utils/callfsl.py index fa68a3f4d..d86856ebe 100644 --- a/fsl/utils/callfsl.py +++ b/fsl/utils/callfsl.py @@ -42,7 +42,7 @@ def callFSL(*args): log.debug('callfsl: {}'.format(' '.join(args))) - result = sp.check_output(args) + result = sp.check_output(args).decode('utf-8') log.debug('result: {}'.format(result)) -- GitLab