biojulep: iterators or fold for structures
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- julia
调研方向
首先阅读现有的 collectresidues 和 collectatoms 实用工具。将提议的 EachResidue/EachAtom 迭代器接口与 Transducers.jl 的 foldxl 方法进行比较,然后确定哪种设计最能支持在不分配存储空间的情况下进行遍历,同时保留当前的集合实用工具。
由索引模型根据 Issue 内容生成。
描述
This package has utilities like collectresidues and collectatoms. Because this allocates storage, it might be of interest to implement an alternative. I see two main options:
- an iterator interface, e.g.,
EachResidue(struc)orEachAtom(struc).collectresiduescould then be implemented ascollectresidues(struc) = collect(EachResidue(struc))but one could also perform other forms of processing (for r in EachResidue(struc) ... end). - a transducers interface, where
foldxlis the core operation.
I have less personal experience with the latter, so left to my own devices I'd probably be tempted to implement the iterator version. But collectresidues/collectatoms are currently probably special cases of foldxl so generalizing them would be perfectly viable too.
- 主要语言
- Julia
- 星标
- 106
- 派生
- 28
- 平均合并
- 2 天 12 小时
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
BioJulia/BioStructures.jl 的其他 Issue
-
难度 5/5 一周以上 新手友好度 32/100
BioJulia/BioStructures.jl#74 · 5 条评论 ·
-
breaking
难度 5/5 一周以上 新手友好度 30/100
BioJulia/BioStructures.jl#72 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
BioJulia/BioStructures.jl#59 · 6 条评论 ·
-
3-vector for coordinates?可能已有人在做 @timholy 于 542 天前认领。 未关闭
难度 5/5 一周以上 新手友好度 25/100
BioJulia/BioStructures.jl#55 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
BioJulia/BioStructures.jl#48 · 60 条评论 · 1 个 reaction ·
查看 BioJulia/BioStructures.jl 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 70/100
WaterLily-jl/WaterLily.jl#376 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
docs: unresolved [`compare_fits_Sigma_table`](@ref) in diagnostics.jl docstring renders as a 404 link (dev/diagnostics → ./@ref)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭docs
难度 2/5 1-3 小时 新手友好度 70/100
-
`AdaptiveMaxPool` / `AdaptiveMeanPool` throw `DivideError` when the input is smaller than the output size可能已有人在做 @parth-patel010 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
SciML/OrdinaryDiffEq.jl#4951 ·
维护者通常 5 天内回复