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

Remove empty constructs

parent c2b3c276
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ class Cutadapt(root: Configurable, fastqc: Fastqc) extends nl.lumc.sasc.biopet.e
(fastqc.foundAdapters ++ customAdapters)
.map(adapter => adapter.seq -> adapter.name).toMap
} else {
Map.empty ++ customAdapters.map(adapter => adapter.seq -> adapter.name).toMap
customAdapters.map(adapter => adapter.seq -> adapter.name).toMap
}
}
......
......@@ -107,7 +107,7 @@ class QcCommand(val root: Configurable, val fastqc: Fastqc) extends BiopetComman
val foundAdapters = if (!cutadapt.ignoreFastqcAdapters) {
fastqc.foundAdapters.map(_.seq) ++ cutadapt.customAdapters.map(_.seq)
} else {
Seq.empty ++ cutadapt.customAdapters.map(_.seq)
cutadapt.customAdapters.map(_.seq)
}
if (foundAdapters.nonEmpty) {
......
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