diff options
author | AndreaGuarracino | 2020-08-28 11:16:24 +0200 |
---|---|---|
committer | AndreaGuarracino | 2020-08-28 11:16:24 +0200 |
commit | 3165a31e321cbf4641f9afdcbea511ee66f673bb (patch) | |
tree | 7140a760be5903c6f5e63a38da7e0f76493530a8 /bh20sequploader/qc_metadata.py | |
parent | cc8f99d50236b7d0c365990398785ecc319323ea (diff) | |
download | bh20-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.py | 2 |
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'] |