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

finish algorithm

add validation button to Validation page
parent d1006586
No related branches found
No related tags found
2 merge requests!304update branch with master,!302automatic quality validation
Pipeline #51969 passed
......@@ -255,12 +255,6 @@ class Task(models.Model):
return True
except:
return False
# todo: check if there is a 'quality' structure in the 'task.outputs' at another level?
try:
quality = self.outputs[0]['quality']
return True
except:
return False
@property
def has_plots(self):
......@@ -290,12 +284,6 @@ class Task(models.Model):
return self.outputs['quality']
except:
return None
# todo: check if there is a 'quality' structure in the 'task.outputs' at another level?
try:
return self.outputs[0]['quality']
except:
return None
@property
def get_quality_remarks(self):
......
......@@ -898,7 +898,6 @@ def construct_summary(task):
sasid_quality = calculated_qualities['per_sasid']
totals += '<tr><td colspan="2"><b>Calculated Quality</b></td>'
totals += '<td class="' + sasid_quality + '">' + str(sasid_quality) + '</td></tr>'
except:
pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment