Skip to content

Commit

Permalink
folder name
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmonteiro committed Mar 14, 2024
1 parent 537bb94 commit de70941
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def parse_args(argv):
)
#python3 /workspaces/workflow_runner/runner.py --templateRepo=tercen/scyan_operator
#tercen/scyan_operator
templateRepo = "" #"tercen/image_analysis_STK_workflowRunner_template"
templateRepo = "tercen/scyan_operator" #"tercen/image_analysis_STK_workflowRunner_template"

# If running locally or creating new operator, memory might no be set
# This parameter sets the memory for ALL operators
Expand All @@ -43,7 +43,7 @@ def parse_args(argv):
params["tolerance"] = 0.001
params["toleranceType"] = "relative"

params["templateFolder"] = "tests" #None
params["templateFolder"] = "workflow_tests" #None

params["taskId"] = None

Expand Down Expand Up @@ -177,7 +177,7 @@ def run_with_params(params, mode="cli"):
if folderId != "":
folder = client.folderService.get(folderId)
else:
folder = ""
folder.name = ""

if params["templateFolder"] != None:
if folder.name != params["templateFolder"]:
Expand Down

0 comments on commit de70941

Please sign in to comment.