aboutsummaryrefslogtreecommitdiff
path: root/bh20sequploader/qc_metadata.py
diff options
context:
space:
mode:
authorAndreaGuarracino2020-08-28 11:16:24 +0200
committerAndreaGuarracino2020-08-28 11:16:24 +0200
commit3165a31e321cbf4641f9afdcbea511ee66f673bb (patch)
tree7140a760be5903c6f5e63a38da7e0f76493530a8 /bh20sequploader/qc_metadata.py
parentcc8f99d50236b7d0c365990398785ecc319323ea (diff)
downloadbh20-seq-resource-3165a31e321cbf4641f9afdcbea511ee66f673bb.tar.gz
bh20-seq-resource-3165a31e321cbf4641f9afdcbea511ee66f673bb.tar.lz
bh20-seq-resource-3165a31e321cbf4641f9afdcbea511ee66f673bb.zip
added control (locally and in the validation) that sample_id has to be the same in the metadata and in the FASTA header #103
Diffstat (limited to 'bh20sequploader/qc_metadata.py')
-rw-r--r--bh20sequploader/qc_metadata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bh20sequploader/qc_metadata.py b/bh20sequploader/qc_metadata.py
index 27657b1..87fa0b3 100644
--- a/bh20sequploader/qc_metadata.py
+++ b/bh20sequploader/qc_metadata.py
@@ -39,4 +39,4 @@ def qc_metadata(metadatafile):
if not rslt:
raise Exception(reason)
- return True
+ return metadata['sample']['sample_id']