Commit 974156b3 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fixed md5 check

parent 21d64302
......@@ -116,20 +116,6 @@ trait SummaryQScript extends BiopetQScript { qscript =>
//TODO: add more checksums types
}
for (inputFile <- inputFiles) {
inputFile.md5 match {
case Some(checksum) => {
val checkMd5 = new CheckChecksum
checkMd5.inputFile = inputFile.file
require(SummaryQScript.md5sumCache.contains(inputFile.file), "Md5 job is not executed, checksum file can't be found")
checkMd5.checksumFile = SummaryQScript.md5sumCache(inputFile.file)
checkMd5.checksum = checksum
add(checkMd5)
}
case _ =>
}
}
for ((_, summarizableList) <- summarizables; summarizable <- summarizableList) {
summarizable match {
case f: BiopetCommandLineFunction => f.beforeGraph()
......@@ -146,6 +132,21 @@ trait SummaryQScript extends BiopetQScript { qscript =>
}
}
for (inputFile <- inputFiles) {
inputFile.md5 match {
case Some(checksum) => {
val checkMd5 = new CheckChecksum
checkMd5.inputFile = inputFile.file
require(SummaryQScript.md5sumCache.contains(inputFile.file),
s"Md5 job is not executed, checksum file can't be found for: ${inputFile.file}")
checkMd5.checksumFile = SummaryQScript.md5sumCache(inputFile.file)
checkMd5.checksum = checksum
add(checkMd5)
}
case _ =>
}
}
for ((_, file) <- this.summaryFiles)
addChecksum(file)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment