---
# System prepended metadata

title: 2023/10/12 SpatialData community meeting

---

# 2023/11/23 SpatialData community meeting 

[Zoom link](https://embl-org.zoom.us/j/91981143644?pwd=M2NuRjlueVhqbmd4VDZFMktyWjAwdz09)
6PM to 7PM CET

If you are an external guest and you plan to attend, please write your name among the attendees and add time for a short introduction or topic to the agenda.

Should you wish to attend from a different time zone, please inform us here of your time-zone and topic so we can plan a more convenient slot.
    
*Attendees:* Benjamin Rombaut, Luca Marconato, Giovanni Palla, Wouter-Michiel Vierdag

## Agenda and notes

Please add topics of discussion and include a time estimate

- (Benjamin) PR for apply function (10min)
    - https://github.com/ArneDefauw/spatialdata/blob/apply/src/spatialdata/_core/operations/apply.py
    - Input on functionality and scope
    - Looks good, but more conversation in a PR
- (Luca, Giovanni) Multiple tables (20min)
    - Walkthrought on the new design and tests for test-driven development
    - Looking at 
    - Mapping using full paths
    - 

## Actionable items 

- (Benjamin) ask Arne to open PR
- (Multiple Tables):
    - We need to keep instance_key, region_key BUT create helper functions to get the corresponding columns
        - these helper functions should be methods/accessor of SpatialData
    - Alternatives:
        - remove region_key, instance_key and use lazy concatenation (not for now, lazy concatenation is not ready)
        - use a fixed name for the value of "region_key" and "instance_key" (ask Kevin)
    - Make better docs and a dedicated example with clear explanation of how to link tables and elements, etc.
        - Explain region_key, instance_key better
        - Exapain to use the hleper functions/accessors
        - Say don't table.obs.index
        - Say dont' rely on order
    - Choose better names for region_key, instance_key? (keep it for now and rename later?)
    - Probably drop region? (keep it for now and drop it later)
    - Paths: can be done later

# Shareable invitation to this meeting
## SpatialData Community Meeting: Thursday, Nov 23th. 6PM-7PM CET
You are welcome to join the next SpatialData Community Meeting on Thursday, Nov 23th. 6PM-7PM CET.
- [zoom](https://embl-org.zoom.us/j/91981143644?pwd=M2NuRjlueVhqbmd4VDZFMktyWjAwdz09) (passcode: 570601)
- [agenda](https://hackmd.io/ORgnyuxoSz6dFa5xOcSICA)

General information:
- [all the future meetings and agendas](https://hackmd.io/enWU826vRai-JYaL7TZaSw?both)
- [zulip chat](https://scverse.zulipchat.com/#narrow/stream/315824-spatial/topic/spatialdata.20meetings)



sdata['images']
sdata['/images']
sdata['my/nested/path/images']
sdata['/my/nested/path/images']

both supported
```
In [36]: abe["Homer/Bart"].name
Out[36]: 'Bart'

In [37]: abe["./Homer/Bart"].name  # alternative syntax
Out[37]: 'Bart'
```

this a bit insane but maybe let's postpone it for now

```
primates["../../Two Fenestrae/Crocodiles"] = DataTree()

print(vertebrates)
DataTree('Vertebrae', parent=None)
├── DataTree('Sharks')
└── DataTree('Bony Skeleton')
    ├── DataTree('Ray-finned Fish')
    └── DataTree('Four Limbs')
        ├── DataTree('Amphibians')
        └── DataTree('Amniotic Egg')
            ├── DataTree('Hair')
            │   ├── DataTree('Primates')
            │   └── DataTree('Rodents & Rabbits')
            └── DataTree('Two Fenestrae')
                ├── DataTree('Dinosaurs')
                ├── DataTree('Birds')
                └── DataTree('Crocodiles')
```