Skip to content

Commit

Permalink
Update namespace (#42)
Browse files Browse the repository at this point in the history
Change namespace from domain-crystallography to CIF-ontology.
  • Loading branch information
CasperWA authored Aug 18, 2021
1 parent 91d120d commit eb552bd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
8 changes: 2 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,5 @@ old
__pycache__
*.pyc

ddl.dic
cif_core.dic
templ_attr.cif
templ_enum.cif

cif_core.ttl
*.dic
*.cif
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ See the following table for version compatibilies:
| ------------------- | ----------------- |
| emmo-inferred | 1.0.0-beta |

Obtaining domain-crystallography
--------------------------------
Obtaining CIF-ontology
----------------------

This ontology build on EMMO-1.0.0-beta.
The correct path to the inferred verion 'emmo-inferred' is specified in the catalog file, [`catalog-v001.xml`](ontology/catalog-v001.xml).
Expand Down
2 changes: 1 addition & 1 deletion dic2owl/dic2owl/generate_cif.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def subarray(self, dimensions, datatype, container_name):


def main(dicfile: Union[str, Path], ttlfile: Union[str, Path]) -> Generator:
base_iri = "http://emmo.info/domain-crystallography/cif_core#"
base_iri = "http://emmo.info/CIF-ontology/cif_core#"

dicfile = dicfile if isinstance(dicfile, str) else str(dicfile.resolve())

Expand Down
3 changes: 1 addition & 2 deletions ontology/catalog-v001.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<catalog prefer="public" xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<catalog id="XML Catalog File" prefer="public" xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<uri id="Imports Wizard Entry" name="http://emmo.info/emmo/cif-ddl" uri="cif-ddl.ttl"/>
<uri id="Imports Wizard Entry" name="http://emmo.info/emmo/cif-core" uri="cif-core.ttl"/>
<group id="Folder Repository, directory=, recursive=true, Auto-Update=true, version=2" prefer="public" xml:base=""/>
</catalog>

0 comments on commit eb552bd

Please sign in to comment.