Skip to content
Snippets Groups Projects
Commit b3e8c237 authored by Wai Yi Leung's avatar Wai Yi Leung
Browse files

Merge branch 'fix-readgroup_check' into 'develop'

Added check on no readgroups

Fixes #289 

See merge request !342
parents fb9a86be 39c422cb
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,7 @@ trait MultisampleMappingTrait extends MultiSampleQScript
if (readGroup.getSample != sampleId) logger.warn("Sample ID readgroup in bam file is not the same")
if (readGroup.getLibrary != libId) logger.warn("Library ID readgroup in bam file is not the same")
readGroup.getSample == sampleId && readGroup.getLibrary == libId
})
}) && readGroups.nonEmpty
if (!readGroupOke || !dictOke) {
if (!readGroupOke && !correctReadgroups) Logging.addError(
......
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