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
d08baac8
Commit
d08baac8
authored
Jul 22, 2015
by
Peter van 't Hof
Browse files
fix seqstat merge summary
parent
6d3728a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/SeqStat.scala
View file @
d08baac8
...
...
@@ -60,6 +60,7 @@ class SeqStat(val root: Configurable) extends ToolCommandFuntion with Summarizab
case
(
v1
:
Int
,
v2
:
Int
)
if
key
==
"len_min"
=>
if
(
v1
<
v2
)
v1
else
v2
case
(
v1
:
Int
,
v2
:
Int
)
if
key
==
"len_max"
=>
if
(
v1
>
v2
)
v1
else
v2
case
(
v1
:
Int
,
v2
:
Int
)
=>
v1
+
v2
case
(
v1
:
Long
,
v2
:
Long
)
=>
v1
+
v2
case
_
=>
v1
}
}
...
...
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