Skip to content
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

Breaking changes to ibis #77

Open
emdann opened this issue May 23, 2024 · 1 comment · May be fixed by #79
Open

Breaking changes to ibis #77

emdann opened this issue May 23, 2024 · 1 comment · May be fixed by #79
Labels
bug Something isn't working

Comments

@emdann
Copy link
Member

emdann commented May 23, 2024

Report

New ibis release breaks the core gene function (see also in CI)

ensdb = genomic_features.ensembl.annotation(species="Hsapiens", version="108")
genes = ensdb.genes()

throws

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/oak/stanford/groups/pritch/users/emma/miniforge3/envs/perturb-vs-tissue-env/lib/python3.10/site-packages/genomic_features/ensembl/ensembldb.py", line 123, in genes
    query = self.db.table("gene").filter(filter.convert())
  File "/oak/stanford/groups/pritch/users/emma/miniforge3/envs/perturb-vs-tissue-env/lib/python3.10/site-packages/ibis/expr/types/relations.py", line 2486, in filter
    raise com.IbisInputError("You must pass at least one predicate to filter")
ibis.common.exceptions.IbisInputError: You must pass at least one predicate to filter

Quick fix: downgrading to ibis-framework[sqlite, duckdb]==8.0.0

@pablo-gar
Copy link

pablo-gar commented Nov 28, 2024

This is caused by passing an empty filter. Fixed here #79

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants