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

visium_hd reader: load_segmentations_only = False still loads segmentation results

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

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

評価

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

調査の方向性

visium_hd() リーダーから開始し、load_segmentations_only がセグメンテーション結果とビニングされたデータの読み込みをどのように制御しているかを追跡します。実装をドキュメントに記載された動作と比較し、そのうえで、リーダーがビニングされたデータ、セグメンテーション、またはその両方の読み込みをどのように表現すべきかを定義し、サポートされている各オプションを検証します。

索引モデルが issue の本文から書いたものです。

説明

Hi, I am on spatialdata-io 0.5.1 and I noticed that for the visium_hd() reader, the load_segmentations_only=False does not strictly replicate legacy behavior.

The docstring states:

load_segmentations_only
      If `True`, only the segmented cell boundaries and their associated counts will be loaded. All binned data
      will be skipped. If `False`, only the binned data will be loaded (which is consistent with legacy behavior).
      If `None` (default), it will be equivalent to `False`, but a deprecation warning will be raised to inform users that
      in future releases the default value will be changed to `True`. To avoid the warning, explicitly set this parameter to
      `False` or `True`.

However, regardles of whether load_segmentations_only is True or False, segmentation results are loaded if present. load_segmentations_only currently only seems to have an effect on whether the binned data is loaded or not.

I think the desired behavior would indeed be that the users has a choice of whether to load the binned data, the segmentation results or both. Note that even if the reader behaved as stated in the docstring, this would then not give you the option of reading in both.

Thanks!

主要言語
Python
スター
103
フォーク
64
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

scverse/spatialdata-io のほかの issue

scverse/spatialdata-io の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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