Skip to content

Commit

Permalink
Merge pull request #15927 from mvdbeek/fix_outputs_to_working_directo…
Browse files Browse the repository at this point in the history
…ry_job_wrapper_check

[22.05] Fix mixed outputs_to_working_directory pulsar destinations
  • Loading branch information
natefoo authored Apr 12, 2023
2 parents 387660b + 55f5fe1 commit b050d3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/galaxy/jobs/runners/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
)
from galaxy.tool_util.output_checker import DETECTED_JOB_STATE
from galaxy.util import (
asbool,
DATABASE_MAX_STRING_SIZE,
ExecutionTimer,
in_directory,
Expand Down Expand Up @@ -333,7 +334,7 @@ def get_work_dir_outputs(
output_paths = {}
for dataset_path in job_wrapper.job_io.get_output_fnames():
path = dataset_path.real_path
if job_wrapper.get_destination_configuration("outputs_to_working_directory", False):
if asbool(job_wrapper.get_destination_configuration("outputs_to_working_directory", False)):
path = dataset_path.false_path
output_paths[dataset_path.dataset_id] = path

Expand Down

0 comments on commit b050d3d

Please sign in to comment.