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
e3ed0640
Commit
e3ed0640
authored
Feb 24, 2015
by
Peter van 't Hof
Browse files
Fix to redirect md5 to be write in the ouput dir
parent
85b9861f
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/summary/SummaryQScript.scala
View file @
e3ed0640
...
...
@@ -84,6 +84,11 @@ trait SummaryQScript extends BiopetQScript {
def
addChecksum
(
file
:
File
)
:
Unit
=
{
if
(
writeSummary
.
md5sum
&&
!
SummaryQScript
.
md5sumCache
.
contains
(
file
))
{
val
md5sum
=
Md5sum
(
this
,
file
)
// Need to not write a md5 file outside the outputDir
if
(!
file
.
getAbsolutePath
.
startsWith
(
outputDir
.
getAbsolutePath
))
md5sum
.
output
=
new
File
(
outputDir
,
".queue"
+
File
.
separator
+
"md5"
+
file
.
getAbsolutePath
)
writeSummary
.
deps
:+=
md5sum
.
output
SummaryQScript
.
md5sumCache
+=
file
->
md5sum
.
output
add
(
md5sum
)
...
...
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