AllenNeuralDynamics / AllenNeuralDynamics/aind-data-transfer-lite

remove dependence on DataDescription.subject_id to support subject-less data

Ouverte
#33 3 commentaires 0 réactions 1 personne assignée Réclamée par @jtyoung84 Voir sur GitHub
Langage dominant
Python
Étoiles
0
Forks
1
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**Is your feature request related to a problem? Please describe.**
We want to support upload of data without a (primary) subject, such as simulation outputs. This is currently supported by the schema but not by the data transfer service, so supporting it here will be very helpful

**Describe the solution you'd like**
Refactor `UploadDataJob.s3_prefix` to pull directly from DataDescription.name rather then calculating the name from the subject ID. In cases where the name is generated from the subject, that will have been taken care of by the data schema and saved in the json, so this will reduce duplicate code and also support cases where the user has overridden the default name.

**Describe alternatives you've considered**

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.