Don't generate PDF unless you have -run specified
This commit is contained in:
parent
29df96a77b
commit
0111e58d4e
|
|
@ -129,9 +129,11 @@ class QCommandLine extends CommandLineProgram with Logging {
|
||||||
logger.info("Writing JobLogging GATKReport to file " + reportFile)
|
logger.info("Writing JobLogging GATKReport to file " + reportFile)
|
||||||
QJobReport.printReport(qGraph.getFunctionsAndStatus(script.functions), reportFile)
|
QJobReport.printReport(qGraph.getFunctionsAndStatus(script.functions), reportFile)
|
||||||
|
|
||||||
val pdfFile = new File(jobStringName + ".pdf")
|
if ( settings.run ) {
|
||||||
logger.info("Plotting JobLogging GATKReport to file " + pdfFile)
|
val pdfFile = new File(jobStringName + ".pdf")
|
||||||
QJobReport.plotReport(reportFile, pdfFile)
|
logger.info("Plotting JobLogging GATKReport to file " + pdfFile)
|
||||||
|
QJobReport.plotReport(reportFile, pdfFile)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue