From 3fce28f307ce7f4c16bb646d0fdc76d6da7db505 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 113bbde47165..d29e60b8a7b2 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