AllenNeuralDynamics / AllenNeuralDynamics/aind-codeocean-utils

Simplify CodeOceanJob, particularly metadata handling

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

描述

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

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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