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

Cerrado Apto para principiantes
#1,228 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Ya se ha fusionado un pull request relacionado.

  • #1234 de @Zethson — fusionado

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
76/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python
Área
data

Línea de trabajo

Lee src/pertpy/data/_datasets.py y sigue la URL que usa pertpy.data.dixit_2016_raw(); compárala con las entradas de frangieh_2021_raw() y dixit_2016(). Comprueba las URL o los metadatos de los datasets para identificar el archivo raw correcto de Dixit y, después, verifica que la función devuelva el dataset de Dixit esperado en lugar del archivo de Frangieh.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Python
Estrellas
362
Forks
73
Merge medio
1 d 21 h
PR fusionados (30 d)
25

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de scverse/pertpy

Todos los issues de scverse/pertpy

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.