From ebcce9ff2bda1af0b05bbaf69022759d008db436 Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" <1330696+mr-c@users.noreply.github.com> Date: Fri, 21 Sep 2018 17:21:54 +0300 Subject: [PATCH 1/3] add trailing slash to SBG namespace declaration --- src/app/cwl/app-generator/app-generator.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/cwl/app-generator/app-generator.service.ts b/src/app/cwl/app-generator/app-generator.service.ts index d0e630e4d..ef0b16ae7 100644 --- a/src/app/cwl/app-generator/app-generator.service.ts +++ b/src/app/cwl/app-generator/app-generator.service.ts @@ -9,7 +9,7 @@ export class AppGeneratorService { static generate(version: "d2sb" | "v1.0", type: "CommandLineTool" | "Workflow", id: string, label: string): Object { const app: any = { $namespaces: { - sbg: "https://www.sevenbridges.com" + sbg: "https://www.sevenbridges.com/" }, id, label, From f5cd95efff3ff513e8e24fecbba482d89df1a83e Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" <1330696+mr-c@users.noreply.github.com> Date: Fri, 21 Sep 2018 17:26:18 +0300 Subject: [PATCH 2/3] another trailing slash --- src/app/workflow-editor/workflow-editor.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/workflow-editor/workflow-editor.component.ts b/src/app/workflow-editor/workflow-editor.component.ts index a899408fa..8ae0e11dd 100644 --- a/src/app/workflow-editor/workflow-editor.component.ts +++ b/src/app/workflow-editor/workflow-editor.component.ts @@ -118,7 +118,7 @@ export class WorkflowEditorComponent extends AppEditorBase implements OnDestroy, this.dataModel = WorkflowFactory.from(json as any, "document"); if (!this.dataModel.namespaces.has("sbg")) { - this.dataModel.namespaces.set("sbg", "https://www.sevenbridges.com"); + this.dataModel.namespaces.set("sbg", "https://www.sevenbridges.com/"); } this.dataModel.setValidationCallback(this.afterModelValidation.bind(this)); From e9ad4f9b36997f3be7f7646ef0ecb85903a16a1a Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" <1330696+mr-c@users.noreply.github.com> Date: Fri, 21 Sep 2018 17:27:39 +0300 Subject: [PATCH 3/3] another trailing slash --- src/app/tool-editor/tool-editor.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tool-editor/tool-editor.component.ts b/src/app/tool-editor/tool-editor.component.ts index fe5fac202..7b6a631ca 100644 --- a/src/app/tool-editor/tool-editor.component.ts +++ b/src/app/tool-editor/tool-editor.component.ts @@ -245,7 +245,7 @@ export class ToolEditorComponent extends AppEditorBase implements OnInit { this.dataModel = CommandLineToolFactory.from(json as any, "document"); if (!this.dataModel.namespaces.has("sbg")) { - this.dataModel.namespaces.set("sbg", "https://www.sevenbridges.com"); + this.dataModel.namespaces.set("sbg", "https://www.sevenbridges.com/"); } this.dataModel.onCommandLineResult(cmdResult => {