Skip to content

Commit

Permalink
Use bewtween properly
Browse files Browse the repository at this point in the history
It doesn't take a list
  • Loading branch information
afg1 committed Oct 9, 2023
1 parent fabb378 commit 64d13bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rnacentral_pipeline/rnacentral/precompute/ranges.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def upi_taxid_ranges(ranges, tablename, db_url):
query = (
Query.from_(table)
.select(fn.Min(table.id), fn.Max(table.id))
.where(table.precompute_urs_id.between([start, stop]))
.where(table.precompute_urs_id.between(start, stop))
)

cur.execute(str(query), ((start, stop),))
Expand Down

0 comments on commit 64d13bb

Please sign in to comment.