Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
db7d3643
Commit
db7d3643
authored
Feb 09, 2015
by
bow
Browse files
Use Option's constructor instead of Some directly
parent
1db23864
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/Fastqc.scala
View file @
db7d3643
...
...
@@ -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
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment