Skip to content

Commit

Permalink
folder name bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmonteiro committed Mar 14, 2024
1 parent de70941 commit 2172abc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 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/scyan_operator" #"tercen/image_analysis_STK_workflowRunner_template"
templateRepo = "" #"tercen/flow_core_immunophenotyping_template" #"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 Down Expand Up @@ -176,13 +176,14 @@ def run_with_params(params, mode="cli"):
continue
if folderId != "":
folder = client.folderService.get(folderId)
folder = folder.name
else:
folder.name = ""
folder = ""

if params["templateFolder"] != None:
if folder.name != params["templateFolder"]:
if folder != params["templateFolder"]:
continue
util.msg( "Found {}/{}".format(folder.name, wkfName ), verbose )
util.msg( "Found {}/{}".format(folder, wkfName ), verbose )
# Clear possible previous configurations
params["config"] = None

Expand Down

0 comments on commit 2172abc

Please sign in to comment.