diff options
author | Pjotr Prins | 2020-11-07 09:04:03 +0000 |
---|---|---|
committer | Pjotr Prins | 2020-11-07 09:04:03 +0000 |
commit | 0a2d9ef27d6c1b768873252287c6d967cf912025 (patch) | |
tree | 529046422b1f1b5b35483c4b5beb115bc42c888c | |
parent | 8aae577137f7614dc0889d0527cc25d6d078b68e (diff) | |
download | bh20-seq-resource-0a2d9ef27d6c1b768873252287c6d967cf912025.tar.gz bh20-seq-resource-0a2d9ef27d6c1b768873252287c6d967cf912025.tar.lz bh20-seq-resource-0a2d9ef27d6c1b768873252287c6d967cf912025.zip |
Fixed the License error (https!!)
-rw-r--r-- | bh20sequploader/bh20seq-shex.rdf | 2 | ||||
-rw-r--r-- | test/test_shex.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/bh20sequploader/bh20seq-shex.rdf b/bh20sequploader/bh20seq-shex.rdf index 89ecd00..fa765dd 100644 --- a/bh20sequploader/bh20seq-shex.rdf +++ b/bh20sequploader/bh20seq-shex.rdf @@ -1,7 +1,7 @@ PREFIX : <https://raw.githubusercontent.com/arvados/bh20-seq-resource/master/bh20sequploader/bh20seq-shex.rdf#> PREFIX MainSchema: <http://biohackathon.org/bh20-seq-schema#MainSchema/> PREFIX hostSchema: <http://biohackathon.org/bh20-seq-schema#hostSchema/> -PREFIX cc: <http://creativecommons.org/ns#> +PREFIX cc: <https://creativecommons.org/ns#> PREFIX dc: <http://purl.org/metadata/dublin_core_elements#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX obo: <http://purl.obolibrary.org/obo/> diff --git a/test/test_shex.py b/test/test_shex.py index e094184..50ce723 100644 --- a/test/test_shex.py +++ b/test/test_shex.py @@ -24,6 +24,7 @@ class TestStringMethods(unittest.TestCase): print(doc) g = schema_salad.jsonld_context.makerdf("workflow", doc, document_loader.ctx) shex = pkg_resources.resource_stream(__name__, "../bh20sequploader/bh20seq-shex.rdf").read().decode("utf-8") + # Note the https link simply acts as a URI descriptor (it does not fetch) rslt, reason = evaluate(g, shex, doc["id"], "https://raw.githubusercontent.com/arvados/bh20-seq-resource/master/bh20sequploader/bh20seq-shex.rdf#submissionShape") g.serialize(format="ntriples") |