Closed stianlagstad closed 6 months ago
I have read one gtf file successfully using gtfparse==1.3.0 and polars = 0.16.18
Hi all, while you wait for the solution to be merged into the repo, you can manually use @y9c's patches (just edit the read_gtf.py file on your system) from PR #39 - I can vouch for them working.
Bump
Fixed by https://github.com/openvax/gtfparse/pull/42 -- sorry I left this hanging for so long.
Current master makes use of the
polars.toggle_string_cache(True)
function: https://github.com/openvax/gtfparse/blob/bb07cd1b675d307cf1107aa4435245d9496f60f0/gtfparse/read_gtf.py#L87.This was renamed in polars v0.17, ref
When I use read_gtf with a newer version of polars (v0.19.6 in this case), then I get this exception:
This is with the most recent version of gtfparse, i.e. v2.0.1.
I also found this stackoverflow question with the same issue: https://stackoverflow.com/questions/77160802/issue-using-infercnvpy-io-genomic-position-from-gtf.
If I pin polars to v0.16.18 then I get this other exception which I haven't dug into yet: