From 7395c94dd1d34675842a240a4c2f6df38b319ab2 Mon Sep 17 00:00:00 2001 From: pb Date: Fri, 29 Mar 2024 17:58:52 +0100 Subject: [PATCH] minor changes --- models/computing.go | 3 +++ models/workflow.go | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/models/computing.go b/models/computing.go index c9f74d0..7a50246 100644 --- a/models/computing.go +++ b/models/computing.go @@ -182,6 +182,9 @@ func PostOneComputing(obj ComputingNEWModel) (ID string, err error) { } func (obj *ComputingObject) AddUserInput(inputs []xml.Attr){ + + logs.Alert("AddUserInput() is going to throw some alerts while mxGraph GUI is not updated to adapt the inputs to the componant") + // So far only a few input to handle so a switch with a case for each type of attribute // is enough, to prevent too much complexity diff --git a/models/workflow.go b/models/workflow.go index 938b22a..f8bb70e 100644 --- a/models/workflow.go +++ b/models/workflow.go @@ -4,7 +4,6 @@ import ( "context" "encoding/xml" "errors" - "fmt" "net/url" "os" "sort" @@ -632,7 +631,6 @@ func (ws Workspace) ConsumeMxGraphModel(xmlmodel MxGraphModel) (returned_wf *Wor returned_wf.UpdateObj(comp_obj,object.ID) } // if(resObj.getRtype() == rtype.DATA){ - fmt.Printf("Test") // } }