diff --git a/pyontutils/__init__.py b/pyontutils/__init__.py index b04cffbb..60eb1afd 100644 --- a/pyontutils/__init__.py +++ b/pyontutils/__init__.py @@ -1 +1 @@ -__version__ = '0.1.17' +__version__ = '0.1.18' diff --git a/pyontutils/ontload.py b/pyontutils/ontload.py index 91efb646..81df8502 100755 --- a/pyontutils/ontload.py +++ b/pyontutils/ontload.py @@ -246,7 +246,11 @@ def make_graphload_config(graphload_config_template, graphload_ontologies, config['ontologies'] = [] config['graphConfiguration']['location'] = graph_path.as_posix() - lbasposix = local_base.as_posix() + if isinstance(local_base, Path): + lbasposix = local_base.as_posix() + else: + lbasposix = local_base + config['ontologies'] = [{k:v.replace(remote_base, lbasposix) if k == 'url' else v