Commit 333240f2 authored by aknecht2's avatar aknecht2

dimfromroi no longer automatically included.

parent 52d640ab
......@@ -685,13 +685,13 @@ class ImageProcessor(Workflow):
del arguments["--input"]
if "--dimfromroi" in arguments:
del arguments["--dimfromroi"]
arguments["--dimfromroi"] = " ".join([x for x in exInput[type][q].keys() if ".json" in x])
if "histogram-bin" in self.workflow["extract"]:
if type in [imtype for key in self.workflow["extract"]["histogram-bin"]["--group"] for imtype in self.workflow["extract"]["histogram-bin"]["--group"][key]]:
arguments["--colors"] = ""
arguments["--db"] = "db"
arguments["--createdb"] = ""
arguments["--inputs"] = " ".join([x for x in exInput[type][q].keys() if ".png" in x])
arguments["--dimfromroi"] = " ".join([x for x in exInput[type][q].keys() if ".json" in x])
self._addFile(type + str(q) + ".db", type, "output")
self._addJob(type + "_extract" + str(q), "ih-extract-multi", exInput[type][q], {"db": {"file": type + str(q) + ".db", "transfer": False}}, arguments, exDep[type][q], walltime = 240)
self._addJob(type + "_extract" + str(q), "ih-extract-multi", exInput[type][q], {"db": {"file": type + str(q) + ".db", "transfer": False}}, arguments, [], dax = self.exdax, walltime = 240)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment