Skip to content

Commit 7c1d872

Browse files
authored
Merge pull request #51 from lrauschning/dev
Update dependencies
2 parents 1499904 + 5a740c9 commit 7c1d872

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

gtfparse/read_gtf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ def parse_with_polars_lazy(
101101
separator="\t",
102102
comment_prefix="#",
103103
null_values=".",
104-
dtypes=DEFAULT_COLUMN_DTYPES)
104+
schema_overrides=DEFAULT_COLUMN_DTYPES)
105105
try:
106106
df = polars.read_csv(
107107
filepath_or_buffer,
108108
new_columns=REQUIRED_COLUMNS,
109109
**kwargs).lazy()
110-
except polars.ShapeError:
110+
except polars.exceptions.ShapeError:
111111
raise ParsingError("Wrong number of columns")
112112

113113
df = df.with_columns([

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ packages = ["gtfparse"]
2424

2525
[project.urls]
2626
"Homepage" = "https://github.com/openvax/gtfparse"
27-
"Bug Tracker" = "https://github.com/openvax/gtfparse"
27+
"Bug Tracker" = "https://github.com/openvax/gtfparse"

requirements.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
polars>=0.20.2,<0.21.0
2-
pyarrow>=14.0.2,<14.1.0
3-
pandas>=2.1.0,<3.0.0
1+
polars>=0.20.2
2+
pyarrow>=18.0.0
3+
pandas>=2.1.0

0 commit comments

Comments
 (0)