From d82282b4e6b5f5131a3e059ad107873f7d92cb41 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Fri, 12 Nov 2021 08:20:08 +0100 Subject: [PATCH] One more fix for ephemeral collections --- lib/galaxy/model/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/galaxy/model/__init__.py b/lib/galaxy/model/__init__.py index 99399d042af0..24f8460579cb 100644 --- a/lib/galaxy/model/__init__.py +++ b/lib/galaxy/model/__init__.py @@ -7175,6 +7175,8 @@ def is_new(self): return self.state == self.states.NEW def add_output(self, output_name, output_object): + if getattr(output_object, 'ephemeral', False): + return if output_object.history_content_type == "dataset": output_assoc = WorkflowInvocationStepOutputDatasetAssociation() output_assoc.workflow_invocation_step = self