Commit ef4bbaba authored by Yakubov, Sergey's avatar Yakubov, Sergey
Browse files

Merge branch 'fix-file-error' into 'dev'

Check for None instead of empty string in pulsar job finish

See merge request !48
parents 5f7690f3 7a019674
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -645,7 +645,7 @@ class PulsarJobRunner(AsynchronousJobRunner):
            run_results = client.full_status()
            remote_metadata_directory = run_results.get("metadata_directory", None)
            stdout = run_results.get("stdout", "")
            if stdout == "":
            if stdout is None:
                stdout_path = Path(job_wrapper.working_directory) / "outputs" / "tool_stdout"
                stdout_file = open(stdout_path, "r")
                stdout = stdout_file.read()