Commit 67f8504c authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

fixed jobOutputFile

parent 3ba6f191
......@@ -21,11 +21,6 @@ class CheckChecksum extends InProcessFunction {
@Argument(required = true)
var checksum: String = _
override def freezeFieldValues(): Unit = {
super.freezeFieldValues()
jobOutputFile = new File(checksumFile.getParentFile, checksumFile.getName + ".check.out")
}
/** Exits whenever the input md5sum is not the same as the output md5sum */
def run: Unit = {
val outputChecksum = WriteSummary.parseChecksum(checksumFile).toLowerCase
......
......@@ -144,6 +144,7 @@ trait SummaryQScript extends BiopetQScript { qscript =>
s"Md5 job is not executed, checksum file can't be found for: ${inputFile.file}")
checkMd5.checksumFile = SummaryQScript.md5sumCache(inputFile.file)
checkMd5.checksum = checksum
checkMd5.jobOutputFile = new File(checkMd5.checksumFile.getParentFile, checkMd5.checksumFile.getName + ".check.out")
add(checkMd5)
}
case _ =>
......
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