Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Anndata Possibly Containing Sparse Arrays #139

Merged
merged 2 commits into from
Jan 31, 2024

Conversation

jeffquinn-msk
Copy link
Contributor

@jeffquinn-msk jeffquinn-msk commented Jan 31, 2024

Now that we use the spatialdata-io package to read the visium data, the anndata.X attribute will be a sparse array (it used to be dense with our home-spun visium reader. This creates some problems since all downstream classes expect a dense numpy array.

Also noticed we had two identical methods to return the count array, so reduced to one.

@jeffquinn-msk jeffquinn-msk merged commit a9c2907 into main Jan 31, 2024
3 checks passed
@jeffquinn-msk jeffquinn-msk deleted the jq_handle_sparse_arrays branch January 31, 2024 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant