diff --git a/python/obitools3/commands/grep.pyx b/python/obitools3/commands/grep.pyx index 9e65efe..e41867a 100755 --- a/python/obitools3/commands/grep.pyx +++ b/python/obitools3/commands/grep.pyx @@ -143,8 +143,8 @@ def Filter_generator(options, tax_filter): # Initialize conditions predicates = None - if "predicates" in options: - predicates = options["predicates"] + if "grep_predicates" in options: + predicates = options["grep_predicates"] attributes = None if "attributes" in options: attributes = options["attributes"]