ontolutils 0.4.2__tar.gz → 0.4.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ontolutils-0.4.2 → ontolutils-0.4.3}/PKG-INFO +1 -1
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/utils/qudt_units.py +1 -3
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils.egg-info/PKG-INFO +1 -1
- {ontolutils-0.4.2 → ontolutils-0.4.3}/setup.cfg +1 -1
- {ontolutils-0.4.2 → ontolutils-0.4.3}/LICENSE +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/README.md +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/__init__.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/_version.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/cache.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/classes/__init__.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/classes/decorator.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/classes/query_util.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/classes/thing.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/classes/typing.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/classes/utils.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/namespacelib/__dev.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/namespacelib/__init__.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/namespacelib/_iana_utils.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/namespacelib/codemeta.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/namespacelib/m4i.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/namespacelib/obo.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/namespacelib/qudt_kind.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/namespacelib/qudt_unit.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/namespacelib/schema.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/namespacelib/ssno.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils/utils/__init__.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils.egg-info/SOURCES.txt +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils.egg-info/dependency_links.txt +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils.egg-info/requires.txt +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/ontolutils.egg-info/top_level.txt +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/pyproject.toml +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/setup.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/tests/test_classes.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/tests/test_decorator.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/tests/test_namespaces.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/tests/test_query.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/tests/test_readme.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/tests/test_typing.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/tests/test_utils.py +0 -0
- {ontolutils-0.4.2 → ontolutils-0.4.3}/tests/test_version.py +0 -0
|
@@ -237,6 +237,4 @@ def parse_unit(unit_str: str) -> Optional[rdflib.URIRef]:
|
|
|
237
237
|
KeyError
|
|
238
238
|
If the unit string is not in the lookup table
|
|
239
239
|
"""
|
|
240
|
-
|
|
241
|
-
return qudt_lookup['dimensionless']
|
|
242
|
-
return qudt_lookup.get(unit_str, None)
|
|
240
|
+
return qudt_lookup[unit_str]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|