aboutsummaryrefslogtreecommitdiff
path: root/bh20seqanalyzer/main.py
diff options
context:
space:
mode:
authorPeter Amstutz2020-04-10 16:47:31 -0400
committerPeter Amstutz2020-04-10 16:47:31 -0400
commitffad8c21f08aca1cf65809c398f3613846e7c8ba (patch)
tree989ebfcb978072d04be0c0cee8155976b4d1b67b /bh20seqanalyzer/main.py
parentf2a3aeb6d7d8ba210d060b83ea46475eab3626ac (diff)
downloadbh20-seq-resource-ffad8c21f08aca1cf65809c398f3613846e7c8ba.tar.gz
bh20-seq-resource-ffad8c21f08aca1cf65809c398f3613846e7c8ba.tar.lz
bh20-seq-resource-ffad8c21f08aca1cf65809c398f3613846e7c8ba.zip
Propagating metadata to output works now.
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
Diffstat (limited to 'bh20seqanalyzer/main.py')
-rw-r--r--bh20seqanalyzer/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bh20seqanalyzer/main.py b/bh20seqanalyzer/main.py
index 63ff067..193a268 100644
--- a/bh20seqanalyzer/main.py
+++ b/bh20seqanalyzer/main.py
@@ -29,7 +29,7 @@ def validate_upload(api, collection, validated_project,
else:
try:
metadata_content = ruamel.yaml.round_trip_load(col.open("metadata.yaml"))
- metadata_content["id"] = "keep:%s/metadata.yaml" % collection["portable_data_hash"]
+ metadata_content["id"] = "http://arvados.org/keep:%s/metadata.yaml" % collection["portable_data_hash"]
add_lc_filename(metadata_content, metadata_content["id"])
valid = qc_metadata(metadata_content) and valid
except Exception as e:
@@ -146,7 +146,7 @@ def start_pangenome_analysis(api,
"class": "File",
"location": "keep:%s/metadata.yaml" % v["portable_data_hash"]
})
- inputobj["subjects"].append("keep:%s/sequence.fasta" % v["portable_data_hash"])
+ inputobj["subjects"].append("http://arvados.org/keep:%s/sequence.fasta" % v["portable_data_hash"])
run_workflow(api, analysis_project, pangenome_workflow_uuid, "Pangenome analysis", inputobj)