From 677f18a26390a22333b3db104e0dc28e2386bf6b Mon Sep 17 00:00:00 2001 From: ahdamin Date: Tue, 8 Oct 2024 16:04:42 +0200 Subject: [PATCH] Remove commented out lines --- genotype_api/services/endpoint_services/sample_service.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/genotype_api/services/endpoint_services/sample_service.py b/genotype_api/services/endpoint_services/sample_service.py index 5ceda9e..0f97cad 100644 --- a/genotype_api/services/endpoint_services/sample_service.py +++ b/genotype_api/services/endpoint_services/sample_service.py @@ -114,18 +114,12 @@ async def get_match_results( """ Get the match results for a specific analysis type and comparison set within a date range. """ - - # Fetch the analyses with eager loading using selectinload analyses = await self.store.get_analyses_by_type_between_dates( analysis_type=comparison_set, date_min=date_min, date_max=date_max ) - - # Fetch the sample analysis with eager loading sample_analysis = await self.store.get_analysis_by_type_and_sample_id( sample_id=sample_id, analysis_type=analysis_type ) - - # Perform matching using the MatchGenotypeService matches: list[MatchResult] = MatchGenotypeService.get_matches( analyses=analyses, sample_analysis=sample_analysis )