You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
Much like sgkit-dev/sgkit-bgen#15, this reader should break if you try to index with scalars (ds.call_genotype[0, 0]) or lists. More problematic is the fact that Dask will request slices as scalar indices if a variant/sample chunk only has one item. Adding fancy=False to from_array, converting int slicers to actual slices, and then squeezing off unit dimensions in the chunks read is enough to fix these problems.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Much like sgkit-dev/sgkit-bgen#15, this reader should break if you try to index with scalars (
ds.call_genotype[0, 0]
) or lists. More problematic is the fact that Dask will request slices as scalar indices if a variant/sample chunk only has one item. Addingfancy=False
tofrom_array
, converting int slicers to actual slices, and then squeezing off unit dimensions in the chunks read is enough to fix these problems.The text was updated successfully, but these errors were encountered: