Commit 8a103f26 authored by aknecht2's avatar aknecht2

ih-extract-multi roi fix.

parent 251466d9
......@@ -662,8 +662,7 @@ class ImageProcessor(Workflow):
exInput[type][clusternum[type]][reqFile] = {"file": reqFile, "transfer": save}
if "--dimfromroi" in self.workflow["extract"]["workflows"][type]["arguments"]:
if os.path.isfile(self.workflow["extract"]["workflows"][type]["arguments"]["--dimfromroi"]):
roiFile = self.workflow["extract"]["workflows"][type]["arguments"]["--dimfromroi"]
self._addFile("img.db", "raw", "input", self.basepath + "/output/output.db")
roiFile = os.path.basename(self.workflow["extract"]["workflows"][type]["arguments"]["--dimfromroi"])
else:
roiFile = derivedPath + "_" + self.workflow["extract"]["workflows"][type]["arguments"]["--dimfromroi"] + ".json"
exInput[type][clusternum[type]][roiFile] = {"file": roiFile, "transfer": save}
......
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