Skip to content

Commit

Permalink
Merge pull request #51 from lrauschning/dev
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
timodonnell authored Feb 27, 2025
2 parents 1499904 + 5a740c9 commit 7c1d872
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions gtfparse/read_gtf.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ def parse_with_polars_lazy(
separator="\t",
comment_prefix="#",
null_values=".",
dtypes=DEFAULT_COLUMN_DTYPES)
schema_overrides=DEFAULT_COLUMN_DTYPES)
try:
df = polars.read_csv(
filepath_or_buffer,
new_columns=REQUIRED_COLUMNS,
**kwargs).lazy()
except polars.ShapeError:
except polars.exceptions.ShapeError:
raise ParsingError("Wrong number of columns")

df = df.with_columns([
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ packages = ["gtfparse"]

[project.urls]
"Homepage" = "https://github.com/openvax/gtfparse"
"Bug Tracker" = "https://github.com/openvax/gtfparse"
"Bug Tracker" = "https://github.com/openvax/gtfparse"
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
polars>=0.20.2,<0.21.0
pyarrow>=14.0.2,<14.1.0
pandas>=2.1.0,<3.0.0
polars>=0.20.2
pyarrow>=18.0.0
pandas>=2.1.0

0 comments on commit 7c1d872

Please sign in to comment.