From 178750385d9f0910989f64a56ac443d3543bea05 Mon Sep 17 00:00:00 2001 From: Isaac Virshup Date: Wed, 20 Sep 2023 13:46:59 +0200 Subject: [PATCH] ibis 0.6 compat --- pyproject.toml | 2 +- src/genomic_features/ensembl/ensembldb.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8ce0ee5..7449e6a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ urls.Documentation = "https://genomic-features.readthedocs.io/" urls.Source = "https://github.com/scverse/genomic-features" urls.Home-page = "https://github.com/scverse/genomic-features" dependencies = [ - "ibis-framework[sqlite]", + "ibis-framework[sqlite]>0.6", "pooch", "pandas", "pyarrow", diff --git a/src/genomic_features/ensembl/ensembldb.py b/src/genomic_features/ensembl/ensembldb.py index e371574..a731470 100644 --- a/src/genomic_features/ensembl/ensembldb.py +++ b/src/genomic_features/ensembl/ensembldb.py @@ -345,7 +345,8 @@ def _join_query( t2, predicates=[key], how="left", - suffixes=("", "_y"), + rname="{name}_y", + # suffixes=("", "_y"), ) query = query.drop(f"{key}_y") # drop duplicate columns else: