Commit cbeec1aa authored by aknecht2's avatar aknecht2

Fixed asterisk escaping for logic strings.

parent 9f1ee79b
......@@ -1094,6 +1094,7 @@ class Image(object):
up complex filtering into multiple steps for readability. Finally, despite
the fact this function solves arbitrary logic, it is very fast.
"""
print logic
filter = ColorFilter(logic)
roi = self._loadROI(roi)
self.image = filter.apply(self.image, roi)
......
......@@ -150,9 +150,9 @@ class Workflow(object):
arglist.append(outputs[str(arguments[arg])]["file"])
else:
if "osg" in self.config:
arglist.append("'" + str(arguments[arg]) + "'")
arglist.append("'" + str(arguments[arg]).replace("*","\*") + "'")
else:
arglist.append(str(arguments[arg]))
arglist.append(str(arguments[arg])).replace("*","\*")
self.jobs[dax][jobname].addArguments(*arglist)
if dependencies:
for depend in dependencies:
......
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