Skip to content
Snippets Groups Projects
Commit 3688f4c2 authored by van den Berg's avatar van den Berg
Browse files

Add test for sample tags

Make sure that sample tags are not allowed, since this would interfere
with the sample tags that are set by Miracle
parent a8d1393c
No related branches found
No related tags found
No related merge requests found
{
"files": [
{
"md5": "c3875788d22baa678c87c8f903cb2350",
"filename": "sample1_R1.fastq.gz",
"sample_name": "sample4",
"tags": {
"readtype": "forward",
"readgroup": "rg1"
}
},
{
"md5": "74cedbb88402dd16a6b4f96e5440fdfd",
"filename": "sample1_R2.fastq.gz",
"sample_name": "sample4",
"tags": {
"readtype": "umi",
"readgroup": "rg1"
}
},
{
"md5": "617e686e88c06ad1d7319f606ebcbfc5",
"filename": "sample1_R3.fastq.gz",
"sample_name": "sample4",
"tags": {
"readtype": "reverse",
"readgroup": "rg1"
}
}
],
"sample_group": {
"samples": [
{
"sample_name": "sample4",
"tags": {
"capture_kit": "Cre v2"
}
}
],
"group_name": "samplegroup4"
},
"run_name": "runname4",
"title": "Test for file tags in runs endpoint"
}
......@@ -22,3 +22,10 @@
contains:
- "is too short"
- name: test sample tags
command: jsonschema -i test/invalid-instances/sample_tags.json transfer_schema.json
exit_code: 1
stderr:
contains:
- "Additional properties are not allowed ('tags' was unexpected)"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment