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
2b6e2ab2
Commit
2b6e2ab2
authored
May 07, 2016
by
Peter van 't Hof
Browse files
Emtp stats when stats file does not exist
parent
9e6a44e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/VariantEffectPredictor.scala
View file @
2b6e2ab2
...
...
@@ -271,7 +271,8 @@ class VariantEffectPredictor(val root: Configurable) extends BiopetCommandLineFu
def
summaryFiles
:
Map
[
String
,
File
]
=
Map
()
def
summaryStats
:
Map
[
String
,
Any
]
=
{
if
(
statsText
)
parseStatsFile
(
new
File
(
output
.
getAbsolutePath
+
"_summary.txt"
))
val
statsFile
=
new
File
(
output
.
getAbsolutePath
+
"_summary.txt"
)
if
(
statsText
&&
statsFile
.
exists
())
parseStatsFile
(
statsFile
)
else
Map
()
}
...
...
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