mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Don't calculate real path in tool action code if unused.
This commit is contained in:
@@ -322,7 +322,7 @@ class HasDatasets(object):
|
||||
|
||||
def _dataset_wrapper(self, dataset, dataset_paths, **kwargs):
|
||||
wrapper_kwds = kwargs.copy()
|
||||
if dataset:
|
||||
if dataset and dataset_paths:
|
||||
real_path = dataset.file_name
|
||||
if real_path in dataset_paths:
|
||||
wrapper_kwds["dataset_path"] = dataset_paths[real_path]
|
||||
|
||||
Reference in New Issue
Block a user