Skip to content

Comments

Sitekwb/issue6#298

Open
sitekwb wants to merge 2 commits intobiodatageeks:masterfrom
sitekwb:sitekwb/issue6
Open

Sitekwb/issue6#298
sitekwb wants to merge 2 commits intobiodatageeks:masterfrom
sitekwb:sitekwb/issue6

Conversation

@sitekwb
Copy link
Contributor

@sitekwb sitekwb commented Feb 12, 2026

  • Added validation to ensure that the on_cols parameter is not provided for naive operations (coverage and count_overlaps).
  • Updated error handling to return informative messages when on_cols is used incorrectly.
  • Enhanced tests to verify that appropriate errors are raised when on_cols is used with naive_query=True, while allowing it in non-naive operations.

@mwiewior
Copy link
Collaborator

@sitekwb pls rebase and resolve conflicts

- Updated range operation functions to accept and validate on_cols parameter, ensuring it is a list of strings or None.
- Modified query generation to include additional WHERE conditions based on on_cols.
- Updated related structures and functions to accommodate on_cols, improving flexibility in overlap queries.

Bump polars_bio version to 0.22.0 in Cargo.lock.
- Added validation to ensure that the on_cols parameter is not provided for naive operations (coverage and count_overlaps).
- Updated error handling to return informative messages when on_cols is used incorrectly.
- Enhanced tests to verify that appropriate errors are raised when on_cols is used with naive_query=True, while allowing it in non-naive operations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants