spatialdata icon indicating copy to clipboard operation
spatialdata copied to clipboard

Elements should be validated before starting to write

Open timtreis opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. I am writing a large sdata object I created to disk. It wrote the image for 12 min and then failed because my adata.obs[region_key] was not categorical.

Describe the solution you'd like All the validations should happen before we start writing.

timtreis avatar Dec 09 '24 03:12 timtreis

I totally agree, thanks for reporting. It may be fixed by https://github.com/scverse/spatialdata/pull/703, I will check this when merging that PR.

LucaMarconato avatar Jan 05 '25 21:01 LucaMarconato