From 3165a31e321cbf4641f9afdcbea511ee66f673bb Mon Sep 17 00:00:00 2001 From: AndreaGuarracino Date: Fri, 28 Aug 2020 11:16:24 +0200 Subject: added control (locally and in the validation) that sample_id has to be the same in the metadata and in the FASTA header #103 --- bh20sequploader/qc_metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bh20sequploader/qc_metadata.py') 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'] -- cgit v1.2.3