Skip to content
Snippets Groups Projects
Commit c3de5e12 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Add comment

parent 313b0c04
No related branches found
No related tags found
No related merge requests found
...@@ -91,7 +91,7 @@ class Fastqc(root: Configurable) extends nl.lumc.sasc.biopet.extensions.Fastqc(r ...@@ -91,7 +91,7 @@ class Fastqc(root: Configurable) extends nl.lumc.sasc.biopet.extensions.Fastqc(r
* when a line starting with "Encoding" does not exist. * when a line starting with "Encoding" does not exist.
*/ */
def encoding: String = { def encoding: String = {
if (dataFile.exists()) if (dataFile.exists) // On a dry run this file does not yet exist
qcModules("Basic Statistics") //FIXME: not save qcModules("Basic Statistics") //FIXME: not save
.lines .lines
.dropWhile(!_.startsWith("Encoding")) .dropWhile(!_.startsWith("Encoding"))
...@@ -110,7 +110,7 @@ class Fastqc(root: Configurable) extends nl.lumc.sasc.biopet.extensions.Fastqc(r ...@@ -110,7 +110,7 @@ class Fastqc(root: Configurable) extends nl.lumc.sasc.biopet.extensions.Fastqc(r
* @return a [[Set]] of [[AdapterSequence]] objects. * @return a [[Set]] of [[AdapterSequence]] objects.
*/ */
def foundAdapters: Set[AdapterSequence] = { def foundAdapters: Set[AdapterSequence] = {
if (dataFile.exists()) { if (dataFile.exists) { // On a dry run this file does not yet exist
/** Returns a list of adapter and/or contaminant sequences known to FastQC */ /** Returns a list of adapter and/or contaminant sequences known to FastQC */
def getFastqcSeqs(file: Option[File]): Set[AdapterSequence] = file match { def getFastqcSeqs(file: Option[File]): Set[AdapterSequence] = file match {
case None => Set.empty[AdapterSequence] case None => Set.empty[AdapterSequence]
......
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