From 02415e09892e9635dd25555e355c3fec94fd36b1 Mon Sep 17 00:00:00 2001 From: Felix Hennig Date: Thu, 31 Oct 2024 15:12:30 +0100 Subject: [PATCH] format --- .../backend/service/submission/SubmissionDatabaseService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/kotlin/org/loculus/backend/service/submission/SubmissionDatabaseService.kt b/backend/src/main/kotlin/org/loculus/backend/service/submission/SubmissionDatabaseService.kt index c5ca4d6b2..456c572db 100644 --- a/backend/src/main/kotlin/org/loculus/backend/service/submission/SubmissionDatabaseService.kt +++ b/backend/src/main/kotlin/org/loculus/backend/service/submission/SubmissionDatabaseService.kt @@ -681,7 +681,7 @@ class SubmissionDatabaseService( if (organism != null) { baseQuery.andWhere { SequenceEntriesView.organismIs(organism) } } - + val statusCounts: Map = Status.entries.associateWith { status -> baseQuery.count { it[SequenceEntriesView.statusColumn] == status.name } }