From edae72d12d0a05857bd2e0d53aec843f73144ff1 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Thu, 21 Sep 2023 12:52:54 +0200 Subject: [PATCH] Also copy contents to history when send to new history is active --- lib/galaxy/workflow/run_request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/workflow/run_request.py b/lib/galaxy/workflow/run_request.py index 37670ead736c..914ede3c82fc 100644 --- a/lib/galaxy/workflow/run_request.py +++ b/lib/galaxy/workflow/run_request.py @@ -400,7 +400,7 @@ def build_workflow_run_configs( f"Unknown workflow input source '{input_source}' specified." ) if add_to_history and content.history != history: - content = content.copy(flush=False) + content = content.copy(element_destination=history, flush=False) history.stage_addition(content) input_dict["content"] = content except AssertionError: