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

Converting cell_metadata from integer to string for latest MERFISH public data #692

Merged
merged 2 commits into from
Jun 2, 2023

Conversation

dfhannum
Copy link
Contributor

IMPORTANT: Please search among the Pull requests before creating one.

Description

A previous pull request #679 by @djlee1 addressed this issue but implemented the code in the read_visium() function rather than in read_vizgen().

Here I made the changes to read_vizgen(). Looking through current issues on squidpy I didn't see any with the read_visium() function that would be addressed by the change, so I reverted to the previous version of the read_visium() code.

How has this been tested?

I've tested this locally on the public MERSCOPE data mentioned in #686, and the AnnData observations data frame was correctly populated with values rather than NaNs.

I also confirmed that the changes didn't effect previous squidpy tutorials using Vizgen data (mouse brain, mouse liver).

Changing coordinate index to string
Reverted to previous code (prior scverse#679) for read_visium
@codecov-commenter
Copy link

Codecov Report

Merging #692 (a4f1d38) into main (3684f11) will decrease coverage by 0.03%.
The diff coverage is 50.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #692      +/-   ##
==========================================
- Coverage   78.51%   78.49%   -0.03%     
==========================================
  Files          33       33              
  Lines        4706     4706              
  Branches      922      916       -6     
==========================================
- Hits         3695     3694       -1     
  Misses        735      735              
- Partials      276      277       +1     
Impacted Files Coverage Δ
squidpy/read/_read.py 38.37% <50.00%> (ø)

... and 1 file with indirect coverage changes

@djlee1
Copy link
Contributor

djlee1 commented May 24, 2023

Oh, I accidentally edited another part and requested it. Appreciate for fixing it :)

@giovp
Copy link
Member

giovp commented Jun 2, 2023

thank you @dfhannum , this was bad overlook from our side, I'll go on and merge it!

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.

4 participants