From d7d112a5caa387e8debfc8629fa71ef333c72689 Mon Sep 17 00:00:00 2001 From: Jonathan Karr Date: Tue, 5 Oct 2021 17:44:41 -0400 Subject: [PATCH] fix: corrected typo in omex-library --- biosimulators_utils/omex_meta/data_model.py | 4 ++-- tests/omex_meta/test_omex_meta_io.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/biosimulators_utils/omex_meta/data_model.py b/biosimulators_utils/omex_meta/data_model.py index 8ec6ab64..ece493a7 100644 --- a/biosimulators_utils/omex_meta/data_model.py +++ b/biosimulators_utils/omex_meta/data_model.py @@ -72,8 +72,8 @@ class OmexMetaSchema(str, enum.Enum): rdf_triples = 'rdf_triples' -BIOSIMULATIONS_ROOT_URI_FORMAT = 'http://omex-libary.org/{}.omex' -BIOSIMULATIONS_ROOT_URI_PATTERN = r'^http://omex-libary\.org/.*?\.omex$' +BIOSIMULATIONS_ROOT_URI_FORMAT = 'http://omex-library.org/{}.omex' +BIOSIMULATIONS_ROOT_URI_PATTERN = r'^http://omex-library\.org/.*?\.omex$' BIOSIMULATIONS_PREDICATE_TYPES = { 'http://dublincore.org/specifications/dublin-core/dcmi-terms/title': { diff --git a/tests/omex_meta/test_omex_meta_io.py b/tests/omex_meta/test_omex_meta_io.py index 2190e713..79a45052 100644 --- a/tests/omex_meta/test_omex_meta_io.py +++ b/tests/omex_meta/test_omex_meta_io.py @@ -72,7 +72,7 @@ def test_BiosimulationsOmexMetaReader_get_combine_archive_uri(self): rdf, errors, warnings = io.BiosimulationsOmexMetaReader.read_rdf(self.FIXTURE) triples = io.BiosimulationsOmexMetaReader.get_rdf_triples(rdf) root_uri, errors, warnings = io.BiosimulationsOmexMetaReader.get_combine_archive_uri(triples) - self.assertEqual(root_uri, 'http://omex-libary.org/BioSim0001.omex') + self.assertEqual(root_uri, 'http://omex-library.org/BioSim0001.omex') self.assertEqual(errors, []) self.assertEqual(warnings, [])