aboutsummaryrefslogtreecommitdiff
path: root/bh20sequploader/qc_metadata.py
diff options
context:
space:
mode:
authorPeter Amstutz2020-07-08 17:10:10 -0400
committerPeter Amstutz2020-07-08 17:10:10 -0400
commite821857e7a9403739f321feb7418d33d6bd8b2c7 (patch)
tree1b72a737b50e60346aefaf009ac2488d45c8abe0 /bh20sequploader/qc_metadata.py
parentbfcebbd349687ebe2d1d47185db9fda38803b674 (diff)
downloadbh20-seq-resource-e821857e7a9403739f321feb7418d33d6bd8b2c7.tar.gz
bh20-seq-resource-e821857e7a9403739f321feb7418d33d6bd8b2c7.tar.lz
bh20-seq-resource-e821857e7a9403739f321feb7418d33d6bd8b2c7.zip
Give uploader an option to trust local validation (for batch imports)upload-download-status
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Diffstat (limited to 'bh20sequploader/qc_metadata.py')
-rw-r--r--bh20sequploader/qc_metadata.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/bh20sequploader/qc_metadata.py b/bh20sequploader/qc_metadata.py
index 0a0c780..27657b1 100644
--- a/bh20sequploader/qc_metadata.py
+++ b/bh20sequploader/qc_metadata.py
@@ -16,12 +16,12 @@ def qc_metadata(metadatafile):
if metadata_schema is None:
schema_resource = pkg_resources.resource_stream(__name__, "bh20seq-schema.yml")
cache = {"https://raw.githubusercontent.com/arvados/bh20-seq-resource/master/bh20sequploader/bh20seq-schema.yml": schema_resource.read().decode("utf-8")}
- metadata_schema = schema_salad.schema.load_schema("https://raw.githubusercontent.com/arvados/bh20-seq-resource/master/bh20sequploader/bh20seq-schema.yml", cache=cache)
+ metadata_schema = schema_salad.schema.load_schema("https://raw.githubusercontent.com/arvados/bh20-seq-resource/master/bh20sequploader/bh20seq-schema.yml", cache=cache)
- (document_loader,
- avsc_names,
- schema_metadata,
- metaschema_loader) = metadata_schema
+ (document_loader,
+ avsc_names,
+ schema_metadata,
+ metaschema_loader) = metadata_schema
shex = pkg_resources.resource_stream(__name__, "bh20seq-shex.rdf").read().decode("utf-8")