AllenNeuralDynamics / AllenNeuralDynamics/biodata-schema

How to track batches of experiments while affording multi-dimensional asset grouping

Abierto
#25 7 comentarios 0 reacciones 1 asignado Reclamado por @dbirman Ver en GitHub
Lenguaje dominante
Python
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Apologies if the solution to this issue already exists.

**Is your feature request related to a problem? Please describe.**
Say I am running the following hypothetical experiment:
- Uses VrForaging platform
- Uses a particular set of parameters of VrForaging platform known as "PatchForaging"
- Animals run as part of a batch of experiments

Various queries, for likely different uses, could be made:
1. Give me all sessions of the VrForaging platform (this could be important for visualization tools that aggregate sessions of the platform
2. Give me all animals that ran the "PatchForaging" version
3. Give me all animals from batch `123`

The only field I can see in the aind-data-schema tailored for this use seems to be `acquisition_type`. However, as described in AllenNeuralDynamics/aind-data-schema#1624 it is not clear to me how one would use this field to achieve this goal. Especially when considering how many different discriminators one may want to use.

**Describe the solution you'd like**
A way to encode these "tags" similarly to what the qc schema allows (https://github.com/AllenNeuralDynamics/aind-data-schema/blob/f0c93ee783e25a0da8263cd4613792e973382dd2/src/aind_data_schema/core/quality_control.py#L57)

For instance, the example above could be encoded as:
tags = ["VrForaging", "PatchForaging", "Batch123"]

**Describe alternatives you've considered**
A custom convention that no one else is privy to. For instance, reserving a special character to separate tags.
acquisition_type = "VrForaging%PatchForaging%Batch123"

**Additional context**
Add any other context or screenshots about the feature request here.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.