From 9bf22b4e693ab049b2bca8ebf2c92c9ba5431d06 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Fri, 6 Aug 2021 11:07:01 -0400 Subject: [PATCH] Don't serialize the toolbox in requests, pulling it from persistedstate and doesn't respect default panel view. --- lib/galaxy/webapps/base/controller.py | 1 - lib/galaxy/webapps/galaxy/controllers/workflow.py | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/galaxy/webapps/base/controller.py b/lib/galaxy/webapps/base/controller.py index e7780e5d424..fb1f8c82f17 100644 --- a/lib/galaxy/webapps/base/controller.py +++ b/lib/galaxy/webapps/base/controller.py @@ -307,7 +307,6 @@ class JSAppLauncher(BaseUIController): config = { 'active_view': 'analysis', 'enable_webhooks': True if trans.app.webhooks_registry.webhooks else False, - 'toolbox': trans.app.toolbox.to_dict(trans), 'message_box_visible': trans.app.config.message_box_visible, 'show_inactivity_warning': trans.app.config.user_activation_on and trans.user and not trans.user.active, 'tool_shed_urls': list(trans.app.tool_shed_registry.tool_sheds.values()) if trans.app.tool_shed_registry else [], diff --git a/lib/galaxy/webapps/galaxy/controllers/workflow.py b/lib/galaxy/webapps/galaxy/controllers/workflow.py index 80870f8d1c0..c9f456047f6 100644 --- a/lib/galaxy/webapps/galaxy/controllers/workflow.py +++ b/lib/galaxy/webapps/galaxy/controllers/workflow.py @@ -724,7 +724,6 @@ class WorkflowController(BaseUIController, SharableMixin, UsesStoredWorkflowMixi 'tags': item_tag_names, 'initialVersion': version, 'annotation': self.get_item_annotation_str(trans.sa_session, trans.user, stored), - 'toolbox': trans.app.toolbox.to_dict(trans), 'moduleSections': module_sections, 'dataManagers': data_managers, 'workflows': workflows