diff --git a/lib/galaxy/jobs/runners/__init__.py b/lib/galaxy/jobs/runners/__init__.py index 9af180124947..ed9038c3bf6e 100644 --- a/lib/galaxy/jobs/runners/__init__.py +++ b/lib/galaxy/jobs/runners/__init__.py @@ -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, @@ -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