diff --git a/atdb/taskdatabase/services/algorithms.py b/atdb/taskdatabase/services/algorithms.py index 5ccddf0d90366a11849be3c031c10ab5eb720f97..22c32c2a7fb3350729ac6c81c0a7882d5939548c 100644 --- a/atdb/taskdatabase/services/algorithms.py +++ b/atdb/taskdatabase/services/algorithms.py @@ -1060,9 +1060,8 @@ def construct_imaging_summary(task): results += '<td class="' + quality_class + '">' + str(task_quality) + '</td>' results += '</tr>' - except Exception as error: - logger.info(error) - #pass + except: + pass try: key = task.calculated_qualities['per_task'] diff --git a/atdb/taskdatabase/tests/test_calculated_qualities.py b/atdb/taskdatabase/tests/test_calculated_qualities.py index 319f22c291fa9a5a3c2ec499f2568a589d2c9630..f5fe5ce64a4b15624d0d8060bac6c64e497e78c5 100644 --- a/atdb/taskdatabase/tests/test_calculated_qualities.py +++ b/atdb/taskdatabase/tests/test_calculated_qualities.py @@ -132,7 +132,7 @@ class TestCalculatedQualities(TestCase): quality_thresholds = json.loads(Configuration.objects.get(key="quality_thresholds").value) quality_indicators = None - # get the tasks for sas_id 54321 + # get the tasks for sas_id 55555 tasks_for_this_sasid = Task.objects.filter(sas_id=55555) # run the algorithms and gather the values