diff --git a/ih/imgproc.py b/ih/imgproc.py index 3d2d7e7f57a4d41b4b349d1b265159d822f0f721..d8472545fd857530d95d492450e551d0fbae2f42 100644 --- a/ih/imgproc.py +++ b/ih/imgproc.py @@ -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) diff --git a/ih/workflow.py b/ih/workflow.py index 20a79f6d0e2ba4c70e1512bc8100340c76fa0526..7965f8ab6e140e7bc51698d9e10dbde90134a7d8 100644 --- a/ih/workflow.py +++ b/ih/workflow.py @@ -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: