Commit 48da47d3 authored by aknecht2's avatar aknecht2

Added ability to include height roi's as a static file.

parent 95998000
......@@ -661,7 +661,10 @@ class ImageProcessor(Workflow):
reqFile = derivedPath + "_" + self.workflow["extract"]["workflows"][type]["inputs"][0] + ".png"
exInput[type][clusternum[type]][reqFile] = {"file": reqFile, "transfer": save}
if "--dimfromroi" in self.workflow["extract"]["workflows"][type]["arguments"]:
roiFile = derivedPath + "_" + self.workflow["extract"]["workflows"][type]["arguments"]["--dimensions"] + ".json"
if os.path.isfile(self.workflow["extract"]["workflows"][type]["arguments"]["--dimfromroi"]:
roiFile = self.workflow["extract"]["workflows"][type]["arguments"]["--dimfromroi"]
else:
roiFile = derivedPath + "_" + self.workflow["extract"]["workflows"][type]["arguments"]["--dimensions"] + ".json"
exInput[type][clusternum[type]][roiFile] = {"file": roiFile, "transfer": save}
else:
outputs = self._loadJobOutputs(job, type, derivedPath, 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