From f16bbca8e265d5f072fda74eb73ff4687cf7df89 Mon Sep 17 00:00:00 2001 From: Celine Mercier Date: Sat, 30 Mar 2019 19:10:42 +0100 Subject: [PATCH] obi grep: fixed a bug where -p option didn't work --- python/obitools3/commands/grep.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"]