Commit 847b1265 authored by Wai Yi Leung's avatar Wai Yi Leung

Remove empty constructs

parent c2b3c276
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment