Skip to content

Commit

Permalink
Fix import (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivirshup authored Apr 3, 2024
1 parent a18e2fb commit ef33d87
Showing 1 changed file with 5 additions and 5 deletions.
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

0 comments on commit ef33d87

Please sign in to comment.