Commit 7a019674 authored by Cage, Gregory's avatar Cage, Gregory
Browse files

Check for None instead of empty string in pulsar job finish

parent 5f7690f3
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()