Skip to content

Commit

Permalink
exclude in cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmonteiro committed Aug 27, 2024
1 parent 58fc54b commit f198709
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,10 @@ def run_with_params(params, mode="cli"):
util.msg( "Config file detected for workflow", verbose )
break


exclude = []
if "config" in params and "EXCLUDE" in params["config"]:
exclude = params["config"]["EXCLUDE"].split(",")

gsList = util.filter_by_golden_standard( workflowList, wkfName)

wkf = w
Expand All @@ -246,7 +249,7 @@ def run_with_params(params, mode="cli"):

util.msg("Comparing Results", verbose)
resultDict = workflow_compare.diff_workflow(client, workflowRun, gsWkf, params["tolerance"],
params["toleranceType"], params["hidden_columns"], verbose, exclude=params["exclude_columns"])
params["toleranceType"], params["hidden_columns"], verbose, exclude=exclude)


if resultDict != None and resultDict != []:
Expand Down

0 comments on commit f198709

Please sign in to comment.