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
Hi @jychien, the squidpy reader functions will be deprecated eventually, since we use spatialdata-io for reading now. I would suggest to use the Visium reader from spatialdata-io which loads the data into a spatialdata object.
sdata = sd.visium("path/to/directory")
The anndata object with coordinates can be found under sdata.tables, so you can continue to use squidpy as usal for analysis.
Description
When
tissue_positions.csv
rather thantissue_positions_list.csv
is in the spatial directory for a Visium dataset, the resulting AnnData object has:Minimal reproducible example
Traceback
It looks like this the issue could be that it should be
header=0
rather thanheader=1
in this line:squidpy/src/squidpy/read/_read.py
Line 87 in 945e127
Version
squidpy 1.2.3 and later
The text was updated successfully, but these errors were encountered: