obi grep: fixed bug when reading URIs
This commit is contained in:
@ -46,7 +46,7 @@ def run(config):
|
|||||||
uri = config['obi']['outputURI'].split('/')
|
uri = config['obi']['outputURI'].split('/')
|
||||||
if len(uri)==2:
|
if len(uri)==2:
|
||||||
# Check that input and output DMS are the same (predicate, to discuss)
|
# 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")
|
raise Exception("Input and output DMS must be the same")
|
||||||
output_view_name = uri[1]
|
output_view_name = uri[1]
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user