From 0a2d9ef27d6c1b768873252287c6d967cf912025 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 7 Nov 2020 09:04:03 +0000 Subject: Fixed the License error (https!!) --- bh20sequploader/bh20seq-shex.rdf | 2 +- test/test_shex.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 : PREFIX MainSchema: PREFIX hostSchema: -PREFIX cc: +PREFIX cc: PREFIX dc: PREFIX xsd: PREFIX 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") -- cgit v1.2.3