NorwegianVeterinaryInstitute / DemultiplexRawSequenceData

A workflow automation script: demultiplex the library sequence, run quality checks, deliver to archiving and processing afterwards
GNU General Public License v3.0
1 stars 0 forks source link

test: check that the calculated hashlib.md5 and hashlib.sha512 are 128 and 64 bytes respectively #78

Open georgemarselis-nvi opened 1 year ago

georgemarselis-nvi commented 1 year ago
        md5sum         = hashlib.md5( filetobehashed ).hexdigest( )
        sha512sum      = hashlib.sha512( filetobehashed ).hexdigest( )
        md5Length      = 16 # 128 bytes
        sha512Length   = 64 # 512 bytes
georgemarselis-nvi commented 1 year ago

image

manual check, checks out.

now, to automate this test