Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/release_23.0' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Apr 10, 2023
2 parents d84f0dc + 629655d commit 3774cc3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/galaxy/dependencies/pinned-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ pkgutil-resolve-name==1.3.10 ; python_version >= "3.7" and python_version < "3.9
prompt-toolkit==3.0.38 ; python_version >= "3.7" and python_version < "3.12"
prov==1.5.1 ; python_version >= "3.7" and python_version < "3.12"
psutil==5.9.4 ; python_version >= "3.7" and python_version < "3.12"
pulsar-galaxy-lib==0.15.0.dev1 ; python_version >= "3.7" and python_version < "3.12"
pulsar-galaxy-lib==0.15.0.dev2 ; python_version >= "3.7" and python_version < "3.12"
pyasn1==0.4.8 ; python_version >= "3.7" and python_version < "3.12"
pycparser==2.21 ; python_version >= "3.7" and python_version < "3.12"
pycryptodome==3.17 ; python_version >= "3.7" and python_version < "3.12"
Expand Down
12 changes: 6 additions & 6 deletions lib/galaxy/jobs/command_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ def build_command(
else:
commands_builder = CommandsBuilder(externalized_commands)

if not for_pulsar:
# Galaxy writes I/O files to outputs, Pulsar instruments own I/O redirection
io_directory = "../outputs"
commands_builder.capture_stdout_stderr(
f"{io_directory}/tool_stdout", f"{io_directory}/tool_stderr", stream_stdout_stderr=stream_stdout_stderr
)
# Galaxy writes I/O files to outputs, Pulsar uses metadata. metadata seems like
# it should be preferred - at least if the directory exists.
io_directory = "../metadata" if for_pulsar else "../outputs"
commands_builder.capture_stdout_stderr(
f"{io_directory}/tool_stdout", f"{io_directory}/tool_stderr", stream_stdout_stderr=stream_stdout_stderr
)

# Don't need to create a separate tool working directory for Pulsar
# jobs - that is handled by Pulsar.
Expand Down
1 change: 1 addition & 0 deletions test/integration/test_pulsar_embedded.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ def handle_galaxy_config_kwds(cls, config):
"tool_provided_metadata_9",
"simple_constructs_y",
"composite_output",
"detect_errors",
]
)

0 comments on commit 3774cc3

Please sign in to comment.