From cc347347be7c23ed494c628937903088b852a604 Mon Sep 17 00:00:00 2001 From: Ahmed Awan Date: Tue, 31 Oct 2023 10:14:30 -0500 Subject: [PATCH] do not require annotation for wfs, fix comments and user facing msgs --- client/src/components/Workflow/Editor/Attributes.vue | 1 - client/src/components/Workflow/Editor/Index.vue | 6 +++--- lib/galaxy/webapps/galaxy/controllers/workflow.py | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/client/src/components/Workflow/Editor/Attributes.vue b/client/src/components/Workflow/Editor/Attributes.vue index 7e8d51c122d2..3d7984212ac1 100644 --- a/client/src/components/Workflow/Editor/Attributes.vue +++ b/client/src/components/Workflow/Editor/Attributes.vue @@ -34,7 +34,6 @@
These notes will be visible when this workflow is viewed.
diff --git a/client/src/components/Workflow/Editor/Index.vue b/client/src/components/Workflow/Editor/Index.vue index a5b7c07e0e34..2e8f25742806 100644 --- a/client/src/components/Workflow/Editor/Index.vue +++ b/client/src/components/Workflow/Editor/Index.vue @@ -565,9 +565,9 @@ export default { this.onUpdateStep(step); }, async onCreate() { - if (!this.name || !this.annotation) { - const response = "Must provide name and annotation before creation..."; - this.onWorkflowError("Creating workflow failed...", response, { + if (!this.name) { + const response = "Please provide a name for your workflow."; + this.onWorkflowError("Creating workflow failed", response, { Ok: () => { this.hideModal(); }, diff --git a/lib/galaxy/webapps/galaxy/controllers/workflow.py b/lib/galaxy/webapps/galaxy/controllers/workflow.py index 00747388bb01..d102971ca747 100644 --- a/lib/galaxy/webapps/galaxy/controllers/workflow.py +++ b/lib/galaxy/webapps/galaxy/controllers/workflow.py @@ -532,7 +532,7 @@ def editor(self, trans, id=None, workflow_id=None, version=None, **kwargs): "workflows": workflows, } - # if existing workflow, add add its data to the model + # for existing workflow add add its data to the model if new_workflow is False: editor_config.update( {