Skip to content
Snippets Groups Projects
Commit cbeec1aa authored by aknecht2's avatar aknecht2
Browse files

Fixed asterisk escaping for logic strings.

parent 9f1ee79b
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment