From 75b54c83ca8a20fb6bc31b9085a3ea996152de89 Mon Sep 17 00:00:00 2001 From: Celine Mercier Date: Wed, 21 Mar 2018 16:34:57 +0100 Subject: [PATCH] obi grep: fixed bug when reading URIs --- python/obitools3/commands/grep.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/obitools3/commands/grep.pyx b/python/obitools3/commands/grep.pyx index 733a530..63ac52b 100644 --- a/python/obitools3/commands/grep.pyx +++ b/python/obitools3/commands/grep.pyx @@ -46,7 +46,7 @@ def run(config): uri = config['obi']['outputURI'].split('/') if len(uri)==2: # Check that input and output DMS are the same (predicate, to discuss) - if config['obi']['inputURI'].split(b'/')[0] != uri[0]: + if config['obi']['inputURI'].split('/')[0] != uri[0]: raise Exception("Input and output DMS must be the same") output_view_name = uri[1] else: