From 52565fd8630f098a5075733a9bc1c70282894fe6 Mon Sep 17 00:00:00 2001 From: Casper Welzel Andersen Date: Mon, 30 Aug 2021 17:58:56 +0200 Subject: [PATCH] Fix todo for CIF-DDL URL after merging #52 --- dic2owl/dic2owl/dic2owl.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/dic2owl/dic2owl/dic2owl.py b/dic2owl/dic2owl/dic2owl.py index d3b9ad2..759552c 100644 --- a/dic2owl/dic2owl/dic2owl.py +++ b/dic2owl/dic2owl/dic2owl.py @@ -86,15 +86,9 @@ def __init__( self.onto = self.world.get_ontology(base_iri) # Load cif-ddl ontology and append it to imported ontologies - # TODO - update the url below when the dic2owl branch is merged into - # main... - # cif_ddl = ( - # "https://raw.githubusercontent.com/emmo-repo/CIF-ontology/main/" - # "ontology/cif-ddl.ttl" - # ) cif_ddl = ( - "https://raw.githubusercontent.com/emmo-repo/CIF-ontology/dic2owl" - "/ontology/cif-ddl.ttl" + "https://raw.githubusercontent.com/emmo-repo/CIF-ontology/main/" + "ontology/cif-ddl.ttl" ) self.ddl = self.world.get_ontology(str(cif_ddl)).load() self.ddl.sync_python_names()