Automatic iteration field addition works properly.

This commit is contained in:
Mark DePristo 2011-08-25 16:59:02 -04:00
parent e01273ca7c
commit e03dfdb0ab
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ trait QJobReport extends Logging {
def setRunInfo(info: JobRunInfo) {
logger.info("info " + info)
reportFeatures = reportFeatures ++ Map(
reportFeatures = Map(
"iteration" -> 1,
"analysisName" -> self.analysisName,
"jobName" -> QJobReport.workAroundSameJobNames(this),
@ -58,7 +58,7 @@ trait QJobReport extends Logging {
"doneTime" -> info.getDoneTime.getTime,
"formattedStartTime" -> info.getFormattedStartTime,
"formattedDoneTime" -> info.getFormattedDoneTime,
"runtime" -> info.getRuntimeInMs).mapValues((x:Any) => if (x != null) x.toString else "null")
"runtime" -> info.getRuntimeInMs).mapValues((x:Any) => if (x != null) x.toString else "null") ++ reportFeatures
// // handle the special case of iterations
// reportFeatures.get("iteration") match {