Skip to content

Support expressions when filtering products by numeric columns #3365

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

snbianco
Copy link
Contributor

@snbianco snbianco commented Jul 2, 2025

Enhanced filter_products methods in MastMissionsClass and ObservationsClass to support advanced filtering expressions for numeric columns. Users can now filter using single values, value ranges (e.g., "100..1000"), comparison operators (e.g., ">=500"), or lists combining multiple expressions (e.g., [100, "500..1000", ">=1500"]). This provides greater flexibility when filtering mission data products.

Also includes tests and documentation updates. Fixed some unrelated documentation tests that were out-of-date.

Copy link

codecov bot commented Jul 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.17%. Comparing base (c522e2a) to head (74cee5e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3365      +/-   ##
==========================================
+ Coverage   70.07%   70.17%   +0.10%     
==========================================
  Files         232      232              
  Lines       19893    19928      +35     
==========================================
+ Hits        13940    13985      +45     
+ Misses       5953     5943      -10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@snbianco snbianco added the mast label Jul 2, 2025
@snbianco snbianco marked this pull request as ready for review July 2, 2025 19:24
@snbianco snbianco requested a review from bsipocz July 2, 2025 19:24
@bsipocz bsipocz added this to the v0.4.11 milestone Jul 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants