Commit 251466d9 authored by aknecht2's avatar aknecht2

Typo fix in validator.

parent dd4fe891
......@@ -401,8 +401,8 @@ class ImageProcessor(Workflow):
if not self.err:
for type in self.workflow.data["extract"]["workflows"]:
if type in self.workflow.data["workflows"]:
if "--dimfromroi" in self.workflow["extract"]["workflows"][type]["arguments"]:
fpath = self.workflow["extract"]["workflows"][type]["arguments"]["--dimfromroi"]
if "--dimfromroi" in self.workflow.data["extract"]["workflows"][type]["arguments"]:
fpath = self.workflow.data["extract"]["workflows"][type]["arguments"]["--dimfromroi"]
if os.path.isfile(fpath):
self.workflow.rawFiles[type].append(fpath)
job = self.workflow.data["extract"]["workflows"][type]
......
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