Skip to content

Commit

Permalink
whoops typo
Browse files Browse the repository at this point in the history
  • Loading branch information
glormph committed Jan 20, 2025
1 parent 7aa48c3 commit 7f62784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/dashboard/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 7f62784

Please sign in to comment.