Skip to content

Commit 0a90958

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f9aad01 commit 0a90958

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,18 @@ Technologies that can be read into `SpatialData` objects using third-party libra
8686
This library is community maintained and is not officially endorsed by the aforementioned spatial technology companies. As such, we cannot offer any warranty of the correctness of the representation. Furthermore, we cannot ensure the correctness of the readers for every data version as the technologies evolve and update their formats. If you find a bug or notice a misrepresentation of the data please report it via our [Bug Tracking System](https://github.com/scverse/spatialdata-io/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen) so that it can be addressed either by the maintainers of this library or by the community.
8787

8888
## Solutions to common problems
89+
8990
### Problem: I cannot visualize the data, everything is slow
90-
Solution: after parsing the data with `spatialdata-io` readers, you need to write it to Zarr and read it again. Otherwise the performance advantage given by the SpatialData Zarr format will not available.
91+
92+
Solution: after parsing the data with `spatialdata-io` readers, you need to write it to Zarr and read it again. Otherwise the performance advantage given by the SpatialData Zarr format will not available.
93+
9194
```python
9295
from spatialdata_io import xenium
9396
from spatialdata import read_zarr
9497

95-
sdata = xenium('raw_data')
96-
sdata.write('data.zarr')
97-
sdata = read_zarr('sdata.zarr')
98+
sdata = xenium("raw_data")
99+
sdata.write("data.zarr")
100+
sdata = read_zarr("sdata.zarr")
98101
```
99102

100103
## Citation

0 commit comments

Comments
 (0)