From 18948aaaecafb737ea45db8d2017abbfd3d5fd64 Mon Sep 17 00:00:00 2001 From: Ignacio Reyes Jainaga Date: Mon, 26 Aug 2024 11:42:51 -0400 Subject: [PATCH] Update lightcurve_service.py: omit period 25 --- lightcurve/src/core/services/lightcurve_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightcurve/src/core/services/lightcurve_service.py b/lightcurve/src/core/services/lightcurve_service.py index 55774d12c..f384641b6 100644 --- a/lightcurve/src/core/services/lightcurve_service.py +++ b/lightcurve/src/core/services/lightcurve_service.py @@ -618,7 +618,7 @@ def _get_period_sql( ) result = session.execute(stmt) result = [FeatureModel(**res[0].__dict__) for res in result.all()] - result = list(filter(lambda x: "23." not in x.version and x.value != None, result)) + result = list(filter(lambda x: "23." not in x.version and "25." not in x.version and x.value != None, result)) except Exception as e: return Failure(DatabaseError(e, database="PSQL")) if len(result) == 0: