From 7f62784c25acd9ab4578a6cd592e338774129c1e Mon Sep 17 00:00:00 2001 From: Jorrit Boekel Date: Mon, 20 Jan 2025 14:11:44 +0100 Subject: [PATCH] whoops typo --- src/backend/dashboard/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/dashboard/views.py b/src/backend/dashboard/views.py index 9278de86..3976455e 100644 --- a/src/backend/dashboard/views.py +++ b/src/backend/dashboard/views.py @@ -206,7 +206,7 @@ def show_qc(request, acqmode, instrument_id, daysago, maxdays): # Guess a default (dia for TIMS, dda for thermo) try: instrumenttype = MSInstrumentType.objects.get(msinstrument__producer_id=instrument_id) - except MSInstrumentType.DoesNotExist + except MSInstrumentType.DoesNotExist: runtype_name = 'DDA' else: runtype_name = 'DIA' if instrumenttype.name == 'timstof' else 'DDA'