pertpy.data.dixit_2016_raw() downloads frangieh_2021_raw.h5ad (6.16 GB byte-identical file)

クローズ 初心者向け
#1,228 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

関連するプルリクエストがすでにマージされています。

  • #1234 @Zethson による — マージ済み

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
data

調査の方向性

src/pertpy/data/_datasets.pyを読み、pertpy.data.dixit_2016_raw()が使用するURLをたどって、frangieh_2021_raw()およびdixit_2016()のエントリと比較してください。データセットのURLまたはメタデータを確認して正しいDixit rawファイルを特定し、その後、関数がFrangiehファイルではなく期待されるDixitデータセットを返すことを検証してください。

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

説明

Please make sure these conditions are met
  • I have checked that this issue has not already been reported.
  • I have confirmed this bug exists on the latest version of pertpy.
  • (optional) I have confirmed this bug exists on the main branch.
Report

pertpy.data.dixit_2016_raw() downloads https://exampledata.scverse.org/pertpy/dixit_2016_raw.h5ad, which is currently a byte-for-byte copy of frangieh_2021_raw.h5ad (6,161,580,004 bytes, identical 359-part multipart ETag "191fc3df5b4957e54170cfbc4d67eeab-359").

Instead of Dixit et al. 2016 K562/BMDC Perturb-seq (dixit_2016.h5ad has 99,722 × 18,531 cells/genes), dixit_2016_raw() returns 218,331 × 23,712 human melanoma TIL Perturb-CITE-seq cells from Frangieh et al. 2021 (obs columns ['library_preparation_protocol', 'condition', 'MOI', 'sgRNA', 'UMI_count'], obsm=['protein_expression'], condition counts {'IFNγ': 87590, 'Co-culture': 73114, 'Control': 57627}).

Across all 55 exampledata.scverse.org URLs in src/pertpy/data/_datasets.py, this is the only duplicate file pair.

Minimal reproduction (requests only, no 6.16 GB download required):

import requests

base = "https://exampledata.scverse.org/pertpy"
for name in ("dixit_2016_raw.h5ad", "frangieh_2021_raw.h5ad", "dixit_2016.h5ad"):
    r = requests.head(f"{base}/{name}", allow_redirects=True, timeout=15)
    print(
        f"{name:24s} status={r.status_code} "
        f"bytes={r.headers.get('Content-Length')} "
        f"etag={r.headers.get('ETag')} "
        f"modified={r.headers.get('Last-Modified')}"
    )

Output:

dixit_2016_raw.h5ad      status=200 bytes=6161580004 etag="191fc3df5b4957e54170cfbc4d67eeab-359" modified=Mon, 15 Sep 2025 11:29:08 GMT
frangieh_2021_raw.h5ad   status=200 bytes=6161580004 etag="191fc3df5b4957e54170cfbc4d67eeab-359" modified=Mon, 15 Sep 2025 09:12:52 GMT
dixit_2016.h5ad          status=200 bytes=1515276836 etag="8c9be24b29b400d298b154f2de546571-89" modified=Mon, 15 Sep 2025 11:29:07 GMT

I found this using AI agents; a separate referee agent independently verified the HTTP headers and HDF5 obs/var/obsm contents of both files via range reads.

Versions
Package Version
pertpy 0.1.dev1+g0c43a551e
anndata 0.13.4
scanpy 1.13.0
h5py 3.16.0
requests 2.34.2
Python 3.13.17

🤖 Generated with Claude Code

主要言語
Python
スター
362
フォーク
73
平均マージ
1日 21時間
マージ済み PR(30日)
25

環境構築

はじめの一歩

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

scverse/pertpy のほかの issue

scverse/pertpy の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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