Skip to content

Commit

Permalink
docs: update README to use udtf
Browse files Browse the repository at this point in the history
  • Loading branch information
tshauck committed Dec 19, 2023
1 parent 464fc1c commit 9188962
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ Then you can use biobear to read a file:
```python
import biobear as bb

df = bb.GFFReader("test.gff").to_polars()
session = bb.connect()
df = session.sql("""
SELECT * FROM gff_scan('test.gff')
""").to_polars()

print(df)
```

Expand Down
1 change: 1 addition & 0 deletions python/biobear/deprecated.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@


def deprecated(cls):
"""Class decorator to mark a class as deprecated."""
orig_init = cls.__init__

@functools.wraps(orig_init)
Expand Down

0 comments on commit 9188962

Please sign in to comment.