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
2be8d063
Commit
2be8d063
authored
May 08, 2016
by
Peter van 't Hof
Browse files
Remove empty line
parent
2b6e2ab2
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/VariantEffectPredictor.scala
View file @
2be8d063
...
...
@@ -279,7 +279,7 @@ class VariantEffectPredictor(val root: Configurable) extends BiopetCommandLineFu
override
def
resolveSummaryConflict
(
v1
:
Any
,
v2
:
Any
,
key
:
String
)
:
Any
=
{
(
v1
,
v2
)
match
{
case
(
x1
:
Int
,
x2
:
Int
)
=>
x1
+
x2
case
_
=>
throw
new
IllegalStateException
(
"Value are not Int's, unable to sum them up"
)
case
_
=>
throw
new
IllegalStateException
(
s
"Value are not Int's, unable to sum them up
, key: $key, v1: $v1, v2: $v2
"
)
}
}
...
...
@@ -290,6 +290,7 @@ class VariantEffectPredictor(val root: Configurable) extends BiopetCommandLineFu
val
headers
=
contents
.
filter
(
x
=>
x
.
startsWith
(
"["
)
&&
x
.
endsWith
(
"]"
))
.
map
(
_
.
stripPrefix
(
"["
).
stripSuffix
(
"]"
))
.
filter
(
_
.
nonEmpty
)
headers
.
foldLeft
(
Map
.
empty
[
String
,
Any
])((
acc
,
x
)
=>
acc
+
(
x
.
replace
(
" "
,
"_"
)
->
getBlockFromStatsFile
(
contents
,
x
)))
}
...
...
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