Skip to content

Commit

Permalink
Update lightcurve_service.py: omit period 25
Browse files Browse the repository at this point in the history
  • Loading branch information
ignacioreyes authored Aug 26, 2024
1 parent 06e741c commit 18948aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightcurve/src/core/services/lightcurve_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 18948aa

Please sign in to comment.