Skip to content
Snippets Groups Projects
Commit 70a2c179 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

Merge branch 'small-updates' into 'master'

small changes in summary for imaging compression pipeline

See merge request !355
parents fa1d1ad4 15e8dfc1
No related branches found
No related tags found
1 merge request!355small changes in summary for imaging compression pipeline
Pipeline #87287 passed
......@@ -972,6 +972,7 @@ def construct_imaging_summary(task):
total_size_to_process += task.size_to_process
total_size_processed += task.size_processed
total_total_processing_time += task.total_processing_time
ratio = total_size_processed / total_size_to_process
# find the summary in the quality json structure
try:
......@@ -1034,7 +1035,7 @@ def construct_imaging_summary(task):
results += f'<tr><td colspan="3">{details["pointing"]}</td></tr>'
stations = details["DStDev"]
results += '<tr style="background-color:#7EB100"><td colspan="3"><b>Stations</b></td></tr>'
results += '<tr style="background-color:#7EB100"><td colspan="3"><b>Stations_DStDev</b></td></tr>'
results += f'<tr><td colspan="3">{stations}</td></tr>'
antennas = details["antennas"]
......@@ -1050,6 +1051,9 @@ def construct_imaging_summary(task):
totals += '<tr><td><b>Size to process</b></td colspan="2"><td>' + str(total_size_to_process) + '</td></tr>'
totals += '<tr><td><b>Size processed</b><td colspan="2">' + str(total_size_processed) + '</td></tr>'
totals += '<tr><td><b>Ratio</b></td>'
totals += '<td colspan="2">' + str(round(ratio, 3)) + '</td>'
totals += '</tr>'
try:
# add calculated quality per sasid (if present)
......
......@@ -31,7 +31,7 @@
{% include 'taskdatabase/pagination.html' %}
</div>
</div>
<p class="footer"> Version 28 Jun 2024
<p class="footer"> Version 5 Jul 2024
</div>
{% include 'taskdatabase/refresh.html' %}
......
......@@ -25,9 +25,6 @@
Filter
<a href="{% url 'sort-tasks' 'filter' 'quality' %}" class="btn btn-light btn-sm" role="button"><i class="fas fa-sort-down"></i></a>
</th>
<th>uv-coverage</th>
<th>Sensitivity</th>
<th>Conditions</th>
<th>Plots</th>
<th>Calc Q</th>
<th>Quality</th>
......
......@@ -38,9 +38,6 @@
<td>{{ task.filter }} </td>
{% if task.has_quality %}
{% for value in task.quality_as_list %}
<td>{{value}}</td>
{% endfor %}
<td>
<a class="open-modal btn btn-primary btn-sm"
href="{% url 'inspection-plots' task.id my_tasks.number %}"
......
......@@ -19,9 +19,6 @@
Filter
<a href="{% url 'sort-tasks' 'filter' 'validation' %}" class="btn btn-light btn-sm" role="button"><i class="fas fa-sort-down"></i></a>
</th>
<th>uv-coverage</th>
<th>Sensitivity</th>
<th>Conditions</th>
<th>Plots</th>
<th>Summary</th>
<th>Annotate</th>
......
......@@ -18,9 +18,6 @@
<td>{{ task.filter }} </td>
{% if task.has_quality %}
{% for value in task.quality_as_list %}
<td>{{value}}</td>
{% endfor %}
{% if task.has_plots %}
<td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment