Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Modality pixelsize_nm must be divisible by psf_voxel_nm

未关闭
#96 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
jupyter-notebook, python
领域
backend

调研方向

从 vLab4Mic-main notebook 开始,使用 update_modality("Confocal", 45, 170, 340) 重现该问题,然后将其与 voxel-size-15 示例进行比较。选择所有通道后,跟踪交互式采集预览的路径;当所报告的 modality 参数能够生成可工作的预览,或不兼容性得到明确处理时,即可完成。

由索引模型根据 Issue 内容生成。

描述

Describe the bug
When changing modality parameters in vLab4Mic main notebook using myexperiment.update_modality(), the pixel size must be a value that is divisible by the psf voxel size, otherwise the acquisition preview does not load. Changing the psf voxel size to 1 does overcome this, but it takes too long to load even the acquisition preview to test this for full simulation.

To Reproduce
Steps to reproduce the behavior:

  1. Run Jupyter notebook vLab4Mic-main
  2. Load in structrue (e.g. 7R5K)
  3. Load in probe (e.g. NPC_Nup96_Cterminal_direct with defaults)
  4. Load in virtual sample paramters (e.g. 1 particle with no randomisation)
  5. Edit confocal modality using line:
    my_experiment.update_modality("Confocal", 45, 170,340)
  6. select confocal modality and update virtual microscope (toggle psf view should show: pixel size at 45 nm; lateral res at 170 nm; axial res at 340 nm; and depth of field at 1000 nm)
  7. Select acquisition parameters: confocal; select all chanels
  8. update acquisition parameters and select interactive acquisiont preview
  9. See error:
    nothing shows up for the acquisition preview in this case.

Expected behavior
Expect to see a preview of the virtual sample with edited acquisition parameters at this stage.

Desktop (please complete the following information):

  • OS: iOS
  • Browser: Firefox
  • Version: 145.0.2

Additional context
If you change the confocal modality voxel size parameter to a multiple of the pixel size, e.g. 15, replacing the code in step 5 with my_experiment.update_modality("Confocal", 45, 170,340,15), then a virtual sample preview will appear at step 9.

主要语言
Python
星标
3
派生
1
平均合并
1 天 7 小时
30 天内合并 PR
13

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

HenriquesLab/VLab4Mic 的其他 Issue

查看 HenriquesLab/VLab4Mic 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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