From 2897992ab56b69164a916ec400a2ed92b9c72d20 Mon Sep 17 00:00:00 2001 From: Vahid Date: Fri, 15 Sep 2017 14:47:32 -0700 Subject: [PATCH] Refactored a dataset variable to hda --- lib/galaxy/jobs/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/galaxy/jobs/__init__.py b/lib/galaxy/jobs/__init__.py index 112ff87be41..5324d42881d 100644 --- a/lib/galaxy/jobs/__init__.py +++ b/lib/galaxy/jobs/__init__.py @@ -1704,14 +1704,14 @@ class JobWrapper(object, HasResourceParameters): else: return 'anonymous@unknown' - def __update_output(self, job, dataset, clean_only=False): + def __update_output(self, job, hda, clean_only=False): """Handle writing outputs to the object store. This should be called regardless of whether the job was failed or not so that writing of partial results happens and so that the object store is cleaned up if the dataset has been purged. """ - dataset = dataset.dataset + dataset = hda.dataset if dataset not in job.output_library_datasets: purged = dataset.purged if not purged and not clean_only: