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
b87a4b04
Commit
b87a4b04
authored
Feb 17, 2015
by
Peter van 't Hof
Browse files
Fix typo
parent
038806f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/summary/WriteSummary.scala
View file @
b87a4b04
...
...
@@ -75,12 +75,12 @@ class WriteSummary(val root: Configurable) extends InProcessFunction with Config
for
((
key
,
file
)
<-
files
)
yield
{
val
map
:
mutable.Map
[
String
,
Any
]
=
mutable
.
Map
()
map
+=
"path"
->
file
.
getAbsolutePath
if
(
md5sum
)
map
+=
"md5"
->
parseChec
h
sum
(
SummaryQScript
.
md5sumCache
(
file
))
if
(
md5sum
)
map
+=
"md5"
->
parseChec
k
sum
(
SummaryQScript
.
md5sumCache
(
file
))
key
->
map
.
toMap
}
}
def
parseChec
h
sum
(
checksumFile
:
File
)
:
String
=
{
def
parseChec
k
sum
(
checksumFile
:
File
)
:
String
=
{
Source
.
fromFile
(
checksumFile
).
getLines
().
toList
.
head
.
split
(
" "
)(
0
)
}
}
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