diff --git a/pyglance/glance/variablereport.txt b/pyglance/glance/variablereport.txt index 48907e34b6c41ee8f622ebb8cef493365854f8d7..c28dda408b71805615e671630ca447a39c3f269a 100644 --- a/pyglance/glance/variablereport.txt +++ b/pyglance/glance/variablereport.txt @@ -117,13 +117,24 @@ Copyright (c) 2011 University of Wisconsin SSEC. All rights reserved. ## list out all of the statistics groups we have <table> - % if groupedStats is not UNDEFINED: + % if groupedStats is UNDEFINED: + % for setName in sorted(list(statGroups)) : + <% dataSet = statGroups[setName] %> + <tr><th class="l" colspan="2">${setName}</th></tr> + % for statName, statValue in sorted(list(dataSet.items())) : + <tr> + <td class="n">${statName}<a href="${runInfo[constants.DOCUMENTATION_PATH_KEY]}">*</a>:</td> + <td class="n">${report.make_formatted_display_string(statValue)}</td> + </tr> + % endfor + % endfor + % else: % for setName in sorted(list(groupedStats)) : <% dataSet = groupedStats[setName] %> <tr><th class="l">${setName}</th><th>Both</th><th>File A</th><th>File B</th></tr> % for statName, statValue in sorted(list(dataSet.items())) : <tr> - <td class="n">${statName}<%block name="statDocLink"><a href="${runInfo[constants.DOCUMENTATION_PATH_KEY]}">*</a>:</%block></td> + <td class="n">${statName}<a href="${runInfo[constants.DOCUMENTATION_PATH_KEY]}">*</a>:</td> <td class="n">${report.make_formatted_display_string(statValue['both'])}</td> <td class="n">${report.make_formatted_display_string(statValue['a'])}</td> <td class="n">${report.make_formatted_display_string(statValue['b'])}</td>