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

Fix import #60

Merged
merged 1 commit into from
Apr 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/genomic_features/ensembl/ensembldb.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
from requests.exceptions import HTTPError

from genomic_features import filters
from genomic_features._core import filters as _filters
from genomic_features._core.cache import retrieve_annotation
from genomic_features._core.filters import AbstractFilterExpr

PKG_CACHE_DIR = "genomic-features"

Expand Down Expand Up @@ -145,7 +145,7 @@ def __repr__(self) -> str:
def genes(
self,
cols: list[str] | None = None,
filter: _filters.AbstractFilterExpr = filters.EmptyFilter(),
filter: AbstractFilterExpr = filters.EmptyFilter(),
join_type: Literal["inner", "left"] = "inner",
) -> DataFrame:
"""Get gene annotations.
Expand Down Expand Up @@ -180,7 +180,7 @@ def genes(
def transcripts(
self,
cols: list[str] | None = None,
filter: _filters.AbstractFilterExpr = filters.EmptyFilter(),
filter: AbstractFilterExpr = filters.EmptyFilter(),
join_type: Literal["inner", "left"] = "inner",
) -> DataFrame:
"""Get transcript annotations.
Expand Down Expand Up @@ -218,7 +218,7 @@ def transcripts(
def exons(
self,
cols: list[str] | None = None,
filter: _filters.AbstractFilterExpr = filters.EmptyFilter(),
filter: AbstractFilterExpr = filters.EmptyFilter(),
join_type: Literal["inner", "left"] = "inner",
) -> DataFrame:
"""Get exons table.
Expand Down Expand Up @@ -273,7 +273,7 @@ def _build_query(
self,
table: Literal["gene", "tx", "exon"],
cols: list[str],
filter: _filters.AbstractFilterExpr,
filter: AbstractFilterExpr,
join_type: Literal["inner", "left"] = "inner",
) -> IbisTable:
"""Build a query for the genomic features table."""
Expand Down
Loading