Skip to content
Snippets Groups Projects
Commit d74b77be authored by Amandine  PERRIN's avatar Amandine PERRIN
Browse files

Write errors with prokka to correct logger

parent 724f505a
No related branches found
No related tags found
No related merge requests found
Pipeline #39178 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment