Fixing units in queue job report Gantt plots

This commit is contained in:
Ryan Poplin 2011-09-12 09:01:34 -04:00
parent 09050a01db
commit 07d365ce39
1 changed files with 2 additions and 0 deletions

View File

@ -140,6 +140,8 @@ print(paste("Project :", inputFileName))
convertUnits <- function(gatkReportData) {
convertGroup <- function(g) {
g$runtime = g$runtime * ORIGINAL_UNITS_TO_SECONDS
g$startTime = g$startTime * ORIGINAL_UNITS_TO_SECONDS
g$doneTime = g$doneTime * ORIGINAL_UNITS_TO_SECONDS
g
}
lapply(gatkReportData, convertGroup)