Commit d7984e09 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Remove unneeded if statement

parent 5aa027a2
......@@ -102,11 +102,9 @@ class Gears(val root: Configurable) extends QScript with MultiSampleQScript { qs
protected def addJobs(): Unit = {
add(flexiprep)
if (gs.fastqR1.isDefined || gs.bamFile.isDefined) {
gs.fastqR1 = Some(flexiprep.fastqR1Qc)
gs.fastqR2 = flexiprep.fastqR2Qc
add(gs)
}
gs.fastqR1 = Some(flexiprep.fastqR1Qc)
gs.fastqR2 = flexiprep.fastqR2Qc
add(gs)
}
/** Must return files to store into summary */
......
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