From db7d36436e80b61851be2a62eba6cb2a3c8df609 Mon Sep 17 00:00:00 2001
From: bow <bow@bow.web.id>
Date: Mon, 9 Feb 2015 15:23:14 +0100
Subject: [PATCH] Use Option's constructor instead of Some directly

---
 .../src/main/scala/nl/lumc/sasc/biopet/extensions/Fastqc.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/Fastqc.scala b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/Fastqc.scala
index 5d8862e7c..fed5e514b 100644
--- a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/Fastqc.scala
+++ b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/Fastqc.scala
@@ -71,7 +71,7 @@ class Fastqc(val root: Configurable) extends BiopetCommandLineFunction {
       // otherwise, check if adapters are already present (depending on FastQC version)
       case None =>
         val defaultAdapters = getVersion match {
-          case "v0.11.2" => Some(new File(fastqcDir + "/Configuration/adapter_list.txt"))
+          case "v0.11.2" => Option(new File(fastqcDir + "/Configuration/adapter_list.txt"))
           case _         => None
         }
         defaultAdapters.collect { case adp => config("adapters", default = adp) }
-- 
GitLab