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

initial quality screen

parent 35ba205d
No related branches found
No related tags found
3 merge requests!198Master,!197Master,!193initial quality screen
...@@ -17,24 +17,6 @@ class Workflow(models.Model): ...@@ -17,24 +17,6 @@ class Workflow(models.Model):
return str(self.id) return str(self.id)
def convert_quality_to_dict_for_template(task):
d = {}
try:
d['QA uv-coverage'] = str(task.quality['uv-coverage'])
d['QA sensitivity'] = str(task.quality['sensitivity'])
d['QA observing-conditions'] = str(task.quality['observing-conditions'])
d['QA diagnostic plots'] = "(link)"
d['Workflow summary parset'] = "(link)"
d['Summary logs'] = "(link)"
d['QA summary.hf5'] = "(link)"
except Exception as err:
pass
return d
# convert the quality information from the JSONfield into a easy parsable list for the template # convert the quality information from the JSONfield into a easy parsable list for the template
def convert_quality_to_list_for_template(task): def convert_quality_to_list_for_template(task):
list = [] list = []
......
...@@ -110,7 +110,6 @@ def convert_quality_to_html(task): ...@@ -110,7 +110,6 @@ def convert_quality_to_html(task):
results = "" results = ""
try: try:
results = "" results = ""
results += "<tr><td><b>SAS_ID</b></td><td>" + str(task.sas_id) + "</td></tr>" results += "<tr><td><b>SAS_ID</b></td><td>" + str(task.sas_id) + "</td></tr>"
results += "<tr><td><b>Project</b></td><td>" + str(task.project) + "</td></tr>" results += "<tr><td><b>Project</b></td><td>" + str(task.project) + "</td></tr>"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<div class="card-body"> <div class="card-body">
<div class="row"> <div class="row">
<div class="col-8"> <div class="col-8">
<h4>Monitoring</h4> <h3>Monitoring</h3>
</div> </div>
</div> </div>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<div class="card-body"> <div class="card-body">
<div class="row"> <div class="row">
<div class="col-8"> <div class="col-8">
<h4>Quality</h4> <h3>Quality Diagnostics</h3>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment