-
Notifications
You must be signed in to change notification settings - Fork 1
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
Try loading xenium zarr #18
Conversation
Got it, I'll take a look before I get started on anything else. |
To confirm, you were trying to read the zarr data that you get from running this, https://github.com/giovp/spatialdata-sandbox/blob/main/xenium_rep1_io/to_zarr.py? |
Sorry if it didn't work, I didn't expect you to look so quickly :/ -- there's the link on the page: https://s3.embl.de/spatialdata/spatialdata-sandbox/xenium_rep1_io.zip which is where I got the data from. I assumed the script would be the same, but may it's not. |
Oh well I actually asked before I tried, just to make sure I was looking at the right script, but as it turns, no it didn't work. I'm sure I could easily fix it, but I'll just download from the link, simpler like that. Regarding the error, I'll look into it tomorrow/over the weekend, but yeah a requirement here is that all the arrays in the store must have the exact same dimension and chunk layout, so that all the variables (i.e. "columns") can be read together, it won't work if 2 arrays have different sizes/dimensions. If arrays with different sizes need to be combined (e.g. with a "join"), they have to be read separately, from 2 different stores. |
So I'm a bit confused by this data, for example if you look at xenium_example.zarr I can read it (after a minor fix, see #19), I don't really know how to confirm if the data is fine or not, but it works, it reads the correct number of chunks. While we're looking into some real data, a few comments:
Anything in that list strikes you as a problem, like something that would be a blocker for real applications that you work with? |
I think the
|
aah right I see. So something that could be set up as partitions, once it's implemented! I'll get started on that soon. |
Closed this for now. |
This is more a scratch work spot then a PR, but I may peel off things from here if we thing they're useful.
I tried loading a xenium dataset and am getting an error that looks to be an issue with the
chunks
key in the metadata changing values...Error: Execution("infer error: InvalidMetadata(\"inconsistent chunks in metadata, got [313] but have [41945, 1]\")")
.