Unverified Commit 55f5fe1e authored by mvdbeek's avatar mvdbeek
Browse files

Cast destination param string to bool when checking truthyness

parent 387660b0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ from galaxy.tool_util.deps.dependencies import (
)
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 @@ class BaseJobRunner:
        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