AllenNeuralDynamics / AllenNeuralDynamics/aind-data-transfer-lite

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

Offen
#33 3 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @jtyoung84 Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
0
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.