AllenNeuralDynamics / AllenNeuralDynamics/aind-data-transfer-lite

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

未关闭
#33 3 条评论 0 个 reaction 已指派 1 人 已被 @jtyoung84 认领 在 GitHub 查看
主要语言
Python
星标
0
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。