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

Chiusa Adatta ai principianti
#1,228 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Una pull request collegata è già stata integrata.

  • #1234 di @Zethson — integrata

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
76/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python
Ambito
data

Direzione di ricerca

Leggi src/pertpy/data/_datasets.py e segui l’URL usato da pertpy.data.dixit_2016_raw(); confrontalo con le voci di frangieh_2021_raw() e dixit_2016(). Controlla gli URL o i metadati dei dataset per identificare il file raw corretto di Dixit, quindi verifica che la funzione restituisca il dataset Dixit previsto anziché il file Frangieh.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Python
Stelle
362
Fork
73
Merge medio
1g 21h
PR unite (30g)
25

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di scverse/pertpy

Tutte le issue di scverse/pertpy

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.