[ESSSPECTROSCOPY] `save_sqw` writes a file Horace refuses when an axis has one bin
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 ess/bifrost/io/sqw.py 中的 _make_dnd_metadata(约第 380 行)开始,跟踪单 bin 轴的 single_bin_defines_iax 和 dax 是如何设置的。比较为 u3: 1 和 u3: 2 生成的元数据,然后检查是否有覆盖 save_sqw 和 read_sqw 的测试。当 Horace 接受包含单 bin 轴的文件,且元数据只列出绘图轴时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
With bin_sizes={'u1': 40, 'u2': 40, 'u3': 1, 'u4': 40}, Horace 4.2.0's read_sqw refuses the file: "number of display axes elements (4) have to be equal to the number of projection axes (3)". _make_dnd_metadata (ess/bifrost/io/sqw.py:380) sets single_bin_defines_iax true on every axis and dax to all four axes, whatever the bin counts. With 'u3': 2 Horace reads the file.
Suggestion: write dax over the plot axes only.
Checked on scipp 26.11.0, scippneutron 26.10.0, essreduce 26.11.1, essspectroscopy 26.11.3.
- 主要语言
- Python
- 星标
- 3
- 派生
- 6
- 平均合并
- 2 天 7 小时
- 30 天内合并 PR
- 36
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
scipp/ess 的其他 Issue
-
essreduce
难度 2/5 1-3 小时 新手友好度 69/100
维护者通常 1 天内回复
-
[ESSSPECTROSCOPY] The containers don't record the vertical axis used for the sample-table rotation未关闭essspectroscopy
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
essspectroscopy
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
essspectroscopy
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
essreduce
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 69/100
anderspitman/awesome-tunneling#330 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
521xueweihan/HelloGitHub#4676 ·
-
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 18 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
pandas-dev/pandas-stubs#2155 ·
维护者通常 1 天内回复
-
area:specs area:tests area:workflow bug repro:high triaged
难度 2/5 1-3 小时 新手友好度 74/100
Terry-Mao/AICodingFlow#378 · 1 条评论 ·
维护者通常 1 天内回复