Commit 4cecab46 authored by Sander Bollen's avatar Sander Bollen
Browse files

Merge branch 'fix-BIOPET-506' into 'develop'

Fixing fix-BIOPET-506



See merge request !508
parents 8b3579f3 5378965f
...@@ -80,8 +80,6 @@ class Flexiprep(val root: Configurable) extends QScript with SummaryQScript with ...@@ -80,8 +80,6 @@ class Flexiprep(val root: Configurable) extends QScript with SummaryQScript with
if (inputR1 == null) Logging.addError("Missing input R1 on flexiprep module") if (inputR1 == null) Logging.addError("Missing input R1 on flexiprep module")
else { else {
paired = inputR2.isDefined
inputFiles :+= new InputFile(inputR1) inputFiles :+= new InputFile(inputR1)
inputR2.foreach(inputFiles :+= new InputFile(_)) inputR2.foreach(inputFiles :+= new InputFile(_))
...@@ -89,6 +87,7 @@ class Flexiprep(val root: Configurable) extends QScript with SummaryQScript with ...@@ -89,6 +87,7 @@ class Flexiprep(val root: Configurable) extends QScript with SummaryQScript with
inputR2.foreach { fileR2 => inputR2.foreach { fileR2 =>
paired = true paired = true
R2Name = getUncompressedFileName(fileR2) R2Name = getUncompressedFileName(fileR2)
if (fileR2 == inputR1) Logging.addError(s"R1 and R2 for $sampleId -> $libId are the same")
} }
} }
} }
......
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