Unable to Implement Workflow Class due to functions lacking attribute '_run_types'
还没有人认领这个 Issue。
评估
调研方向
首先,使用 Methods 文件夹中的函数复现报告的 Workflow 用法,并检查 Workflow 类在哪些位置要求 _run_types 属性。检查 drift correction、parameter sweep 和 eSRRF 函数如何声明或选择运行类型;确认支持的用法或修复方案即表示完成,其中包括在支持的情况下控制运行类型选择的方法。
由索引模型根据 Issue 内容生成。
描述
Nanopyx Team,
Thank you for your thorough documentation and expansive library of high quality code. I have been testing several features of the library and ran into an issue with the Workflow class. When I try to wrap different functions, including their args and kwargs, from the Methods folder within the Workflow instance, I run into an attribute error stating that the 'function' object has no attribute '_run_types'. Perhaps, I am using functions incompatible with the Workflow class.
Below is the block of code raising the issue and the traceback:
I was hoping to use a Workflow instance to streamline my multi-step analysis (drift correction -> parameter sweep -> eSRRF), and would appreciate any pointers on implementation.
At the same time, the agent appears to chose random run types (often landing on threaded_guided despite significantly longer run times) for parameter sweep and drift correction functions, so I was hoping there might be a method to globally force a run type if the Workflow Class is incompatible with the Methods functions I am using. Any clarification/guidance would be much appreciate!
Thank you for your time,
Jake
- 主要语言
- Jupyter Notebook
- 星标
- 93
- 派生
- 14
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
HenriquesLab/NanoPyx 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 42/100
HenriquesLab/NanoPyx#153 · 2 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
HenriquesLab/NanoPyx#150 · 4 条评论 ·
查看 HenriquesLab/NanoPyx 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
FuRongJun-1999/dsh-memory#404 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
ActivityWatch/aw-notify-rs#47 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Workflow.schedule stops when a cron deadline passes before sleep可能已有人在做 @HuaTNA 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复