Skip to content

Commit

Permalink
fix: sorting idx in hail
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Considine committed Apr 2, 2024
1 parent f72338d commit 2a2afbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gentropy/datasource/gnomad/ld.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,9 @@ def get_locus_index(
self.ld_index_raw_template.format(POP=major_population)
)

joined_index = liftover_ht.join(hail_index, how="inner").to_spark().sort("idx")
joined_index = (
liftover_ht.join(hail_index, how="inner").order_by("idx").to_spark()
)

return joined_index

Expand Down

0 comments on commit 2a2afbe

Please sign in to comment.