diff --git a/PanACoTA/annotate_module/annotation_functions.py b/PanACoTA/annotate_module/annotation_functions.py index 3a4dc9c51d8240d25306770edf45fce89d22360a..523147baf235ec9c94253dd4456d3dfe551483ba 100755 --- a/PanACoTA/annotate_module/annotation_functions.py +++ b/PanACoTA/annotate_module/annotation_functions.py @@ -262,7 +262,7 @@ def run_prokka(arguments): error = (f"Error while trying to run prokka on {name} from {gpath}") logger.details("Prokka command: " + cmd) prokf = open(prok_logfile, "w") - ret = utils.run_cmd(cmd, error, eof=False, stderr=prokf) + ret = utils.run_cmd(cmd, error, eof=False, stderr=prokf, logger=logger) prokf.close() if ret.returncode != 0: return False