Load files from parent folders in `tfe-open`
还没有人认领这个 Issue。
评估
调研方向
Start at the tfe-open command entry point and trace how it serves collection and dataset files, resolves external paths, and constructs manifest URLs. Review the acceptance criteria and open questions before choosing how parent directories, malformed or unreachable resources, absolute paths, and security boundaries should be handled. Done means external references are traversed, served from the appropriate parent location, and the opened link points to the nested manifest or collection.
由索引模型根据 Issue 内容生成。
描述
Use Case
Requested by Max. Max would like to load TFE dataset that reference Zarr folders that live outside of the TFE directory (e.g. ../../segmentation.ome.zarr).
Right now, Max is using symlinks to link from inside the TFE dataset folder to the actual Zarr data, but that only works for local files and will not scale to dataset releases.
tfe-open currently serves files directly at the dataset/collection level, and does not support serving files from parent directories. To support this, the tfe-open command would need to traverse all collection/dataset files and check for references to external paths, and then either (1) start a server at the location of each of those paths and fixup the manifest URLs to point to those locations, or (2) start the server in the parent directory.
Acceptance Criteria
- Have
tfe-opentraverse collections + datasets to check for paths to external resources (../). -
tfe-openshould start the server at the highest parent directory so it can serve both the dataset files and the external resources.- Update the opened link to point to the newly-nested dataset manifest/collection.
- Throw errors for malformed external resources/unreachable files.
Details
- Do we need to support absolute filepaths?
- What happens if the file is on a different filesystem drive?
- Are there security concerns / will the OS block us from serving files across the entire computer?
- Move dataset manifest to a
tmp/storage so the manifest can be edited?
- 主要语言
- Python
- 星标
- 4
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
AllenCell/tfe-data 的其他 Issue
-
new feature
难度 2/5 1-3 小时 新手友好度 62/100
-
Error when calculating feature min/max可能重新可做 @ShrimpCryptid 于 244 天前认领,目前没有进行中的 PR。 未关闭bug
-
bug
难度 5/5 一周以上 新手友好度 25/100
-
new feature question
难度 5/5 一周以上 新手友好度 25/100
-
new feature
难度 4/5 3-5 天 新手友好度 48/100
查看 AllenCell/tfe-data 的全部 Issue
相似的 Issue
-
bug TAG: unit tests
难度 2/5 1-3 小时 新手友好度 65/100
learningequality/ricecooker#898 ·
-
task
难度 2/5 1-3 小时 新手友好度 78/100
freelawproject/litigant-portal#1285 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
jmespath/jmespath.py#401 ·
-
least_squares returns a nonfinite objective for an invalid initial residual可能已有人在做 @sylvesterkaczmarek 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
google-deepmind/mujoco#4023 ·
维护者通常 11 天内回复
-
Five Australian birds: Red-capped Parrot, Red-winged Fairywren, Gilbert’s Honeyeater, Western Spinebill, Western Wattlebird可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 66/100
arnegiacomo/fugleramme#427 ·
维护者通常 1 天内回复