AllenNeuralDynamics / AllenNeuralDynamics/aind-data-transfer-lite

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

Đang mở
#33 3 bình luận 0 reaction 1 người được giao Được @jtyoung84 nhận Xem trên GitHub
Ngôn ngữ chính
Python
Star
0
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.