Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Modality pixelsize_nm must be divisible by psf_voxel_nm

オープン
#96 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
jupyter-notebook, python
領域
backend

調査の方向性

vLab4Mic-main notebook から始め、update_modality("Confocal", 45, 170, 340) で問題を再現してから、voxel-size-15 の例と比較します。すべてのチャンネルを選択した後のインタラクティブな取得プレビューの経路を追跡します。指定されたモダリティパラメータで動作するプレビューが生成されるか、互換性の問題が明示的に処理されれば完了です。

索引モデルが 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時間
マージ済み PR(30日)
13

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

HenriquesLab/VLab4Mic のほかの issue

HenriquesLab/VLab4Mic の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。