Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
UW-Glance
Manage
Activity
Members
Labels
Plan
Issues
28
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eva Schiffer
UW-Glance
Commits
ae92da37
Commit
ae92da37
authored
6 years ago
by
Alan De Smet
Browse files
Options
Downloads
Patches
Plain Diff
Fix inspectReport; it (must) use non-grouped data.
parent
3048ab2e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!9
Improved report formatting#18
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pyglance/glance/variablereport.txt
+13
-2
13 additions, 2 deletions
pyglance/glance/variablereport.txt
with
13 additions
and
2 deletions
pyglance/glance/variablereport.txt
+
13
−
2
View file @
ae92da37
...
@@ -117,13 +117,24 @@ Copyright (c) 2011 University of Wisconsin SSEC. All rights reserved.
...
@@ -117,13 +117,24 @@ Copyright (c) 2011 University of Wisconsin SSEC. All rights reserved.
## list out all of the statistics groups we have
## list out all of the statistics groups we have
<table>
<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)) :
% for setName in sorted(list(groupedStats)) :
<% dataSet = groupedStats[setName] %>
<% dataSet = groupedStats[setName] %>
<tr><th class="l">${setName}</th><th>Both</th><th>File A</th><th>File B</th></tr>
<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())) :
% for statName, statValue in sorted(list(dataSet.items())) :
<tr>
<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['both'])}</td>
<td class="n">${report.make_formatted_display_string(statValue['a'])}</td>
<td class="n">${report.make_formatted_display_string(statValue['a'])}</td>
<td class="n">${report.make_formatted_display_string(statValue['b'])}</td>
<td class="n">${report.make_formatted_display_string(statValue['b'])}</td>
...
...
This diff is collapsed.
Click to expand it.
Alan De Smet
@adesmet
mentioned in issue
#18 (closed)
·
6 years ago
mentioned in issue
#18 (closed)
mentioned in issue #18
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment