Add `dataset_id` prefix to tables in Visium HD
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Inizia individuando il codice del reader Visium HD che crea le voci Tables e confronta la relativa denominazione con Images e Shapes mostrati nell’issue. Il lavoro è completato quando i nomi delle Tables di Visium HD includono il prefisso dataset_id, corrispondono agli altri elementi ed evitano nomi di Tables duplicati quando gli oggetti SpatialData vengono concatenati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Thanks for the clarification. That makes sense.
One small detail. Should not the elements in
Tablesbe renamed as well? Right now they are not (see above). If I try to concatenate two visium_hdSpatialDataobjects I get a warning about identical names and they are given unique names which are not ideal because do not follow the original patterns, making it harder to know which ones came from where.>> sdata1 SpatialData object ├── Images │ ├── 'HM_hires_image': DataArray[cyx] (3, 5057, 6000) │ └── 'HM_lowres_image': DataArray[cyx] (3, 506, 600) ├── Shapes │ ├── 'HM_square_002um': GeoDataFrame shape: (2942291, 1) (2D shapes) │ ├── 'HM_square_008um': GeoDataFrame shape: (187571, 1) (2D shapes) │ └── 'HM_square_016um': GeoDataFrame shape: (48206, 1) (2D shapes) └── Tables ├── 'square_002um': AnnData (2942291, 18085) ├── 'square_008um': AnnData (187571, 18085) └── 'square_016um': AnnData (48206, 18085) with coordinate systems: ▸ 'downscaled_hires', with elements: HM_hires_image (Images), HM_square_002um (Shapes), HM_square_008um (Shapes), HM_square_016um (Shapes) ▸ 'downscaled_lowres', with elements: HM_lowres_image (Images), HM_square_002um (Shapes), HM_square_008um (Shapes), HM_square_016um (Shapes) ▸ 'global', with elements: HM_hires_image (Images), HM_lowres_image (Images), HM_square_002um (Shapes), HM_square_008um (Shapes), HM_square_016um (Shapes) >> sdata2 SpatialData object ├── Images │ ├── 'RS_hires_image': DataArray[cyx] (3, 6000, 5163) │ └── 'RS_lowres_image': DataArray[cyx] (3, 600, 517) ├── Shapes │ ├── 'RS_square_002um': GeoDataFrame shape: (2493008, 1) (2D shapes) │ ├── 'RS_square_008um': GeoDataFrame shape: (160049, 1) (2D shapes) │ └── 'RS_square_016um': GeoDataFrame shape: (41439, 1) (2D shapes) └── Tables ├── 'square_002um': AnnData (2493008, 18085) ├── 'square_008um': AnnData (160049, 18085) └── 'square_016um': AnnData (41439, 18085) with coordinate systems: ▸ 'downscaled_hires', with elements: RS_hires_image (Images), RS_square_002um (Shapes), RS_square_008um (Shapes), RS_square_016um (Shapes) ▸ 'downscaled_lowres', with elements: RS_lowres_image (Images), RS_square_002um (Shapes), RS_square_008um (Shapes), RS_square_016um (Shapes) ▸ 'global', with elements: RS_hires_image (Images), RS_lowres_image (Images), RS_square_002um (Shapes), RS_square_008um (Shapes), RS_square_016um (Shapes) >> sd.concatenate([sdata1, sdata2]) <stdin>:1: UserWarning: Duplicate table names found. Tables will be added with integer suffix. Set `concatenate_tables` to `True` if concatenation is wished for instead. SpatialData object ├── Images │ ├── 'HM_hires_image': DataArray[cyx] (3, 5057, 6000) │ ├── 'HM_lowres_image': DataArray[cyx] (3, 506, 600) │ ├── 'RS_hires_image': DataArray[cyx] (3, 6000, 5163) │ └── 'RS_lowres_image': DataArray[cyx] (3, 600, 517) ├── Shapes │ ├── 'HM_square_002um': GeoDataFrame shape: (2942291, 1) (2D shapes) │ ├── 'HM_square_008um': GeoDataFrame shape: (187571, 1) (2D shapes) │ ├── 'HM_square_016um': GeoDataFrame shape: (48206, 1) (2D shapes) │ ├── 'RS_square_002um': GeoDataFrame shape: (2493008, 1) (2D shapes) │ ├── 'RS_square_008um': GeoDataFrame shape: (160049, 1) (2D shapes) │ └── 'RS_square_016um': GeoDataFrame shape: (41439, 1) (2D shapes) └── Tables ├── 'square_002um_0': AnnData (2942291, 18085) ├── 'square_002um_1': AnnData (2493008, 18085) ├── 'square_008um_0': AnnData (187571, 18085) ├── 'square_008um_1': AnnData (160049, 18085) ├── 'square_016um_0': AnnData (48206, 18085) └── 'square_016um_1': AnnData (41439, 18085) with coordinate systems: ▸ 'downscaled_hires', with elements: HM_hires_image (Images), RS_hires_image (Images), HM_square_002um (Shapes), HM_square_008um (Shapes), HM_square_016um (Shapes), RS_square_002um (Shapes), RS_square_008um (Shapes), RS_square_016um (Shapes) ▸ 'downscaled_lowres', with elements: HM_lowres_image (Images), RS_lowres_image (Images), HM_square_002um (Shapes), HM_square_008um (Shapes), HM_square_016um (Shapes), RS_square_002um (Shapes), RS_square_008um (Shapes), RS_square_016um (Shapes) ▸ 'global', with elements: HM_hires_image (Images), HM_lowres_image (Images), RS_hires_image (Images), RS_lowres_image (Images), HM_square_002um (Shapes), HM_square_008um (Shapes), HM_square_016um (Shapes), RS_square_002um (Shapes), RS_square_008um (Shapes), RS_square_016um (Shapes)
Originally posted by @ddiez in #212
- Lingua principale
- Python
- Stelle
- 103
- Fork
- 64
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di scverse/spatialdata-io
-
documentation
Difficoltà 2/5 Mezza giornata Idoneità per principianti 65/100
scverse/spatialdata-io#161 · 13 commenti ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
scverse/spatialdata-io#422 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
scverse/spatialdata-io#419 · 1 commento ·
-
MCMICRO reader does not support new nf-core/mcmicro output formatsForse già presa @adamjtaylor l’ha presa 83 giorni fa. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 48/100
scverse/spatialdata-io#409 · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
scverse/spatialdata-io#408 ·
Tutte le issue di scverse/spatialdata-io
Issue simili
-
area: agents area: docs good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
openapi/gknowledge#23 ·
-
get() for StrEnumForse già presa @FeJo5952 l’ha presa oggi. Apertagood first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
collective/icalendar#1921 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Improvement Python Spans
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
getsentry/sentry-python#7994 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
alphagov/notifications-api#5004 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
equinor/radix-flux#3922 ·
I maintainer di solito rispondono entro 1 giorno