AllenNeuralDynamics / AllenNeuralDynamics/aind-codeocean-utils

Simplify CodeOceanJob, particularly metadata handling

Đang mở
#23 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
0
Fork
0
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.**
When trying to use `CodeOceanJob` to handle metadata tags correctly, I spent couple hours looking at the control flow, and I'm still not sure I get it. Some other inconsistencies were also confusing - wrappers around configuration objects in aind-codeocean-api that really were only renaming things. We should also support a reprocessing workflow - registration should be optional.

**Describe the solution you'd like**
I propose CodeOceanJob be organized as follows:
- Use `aind-codeocean-api`'s request/configuration objects directly for the Register, Run, and Capture steps.
- Add a `pass_metadata_to_result` flag, default True
- Add a `add_data_level_tags` flag, default True
- Ensure that all metadata tags are unique (use Set, rather than List)
- Make sure that Run+Capture can be used independently of Register+Run+Capture

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.