higlass / higlass/higlass-python
`Tileset.tiles` return annotation is incorrect
オープン
@manzt がすでに取り組んでいます。
2026年8月10日 から。
- 主要言語
- Python
- スター
- 66
- フォーク
- 11
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
The `tiles` method is annotated as returning a list of dicts:
* https://github.com/higlass/higlass-python/blob/main/src/higlass/tilesets.py#L171
* https://github.com/higlass/higlass-python/blob/main/src/higlass/tilesets.py#L223
but the handler that consumes it actually unpacks (tile_id, tile) pairs:
* https://github.com/higlass/higlass-python/blob/main/src/higlass/_widget.py#L83
Returning `list[dict]` makes the dict comprehension raise an error that gets swallowed (see companion issue) so no response is sent and the UI reports "Tileset info not found".
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。