From 3643e93caf14e78f794220757336478a89235f28 Mon Sep 17 00:00:00 2001 From: Fidel Alfaro Almagro <falmagro@fmrib.ox.ac.uk> Date: Fri, 10 Feb 2023 09:31:52 +0000 Subject: [PATCH] Fixed typo --- bip/utils/log_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bip/utils/log_utils.py b/bip/utils/log_utils.py index 5fa6e41..7ea4cde 100755 --- a/bip/utils/log_utils.py +++ b/bip/utils/log_utils.py @@ -25,7 +25,7 @@ from fsl import wrappers def run_command(logger, command, **kwargs): try: logger.info('COMMAND TO RUN: \t' + command.strip()) - job_output = check_output(command,shell=True,**kawargs).decode('UTF-8') + job_output = check_output(command,shell=True,**kwargs).decode('UTF-8') logger.info('COMMAND OUTPUT: \t' + job_output.strip()) except Exception as e: logger.error('Exception raised during: \t' + command.strip()) -- GitLab