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

Đã đóng Phù hợp với người mới
#1,228 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Một pull request liên quan đã được merge.

  • #1234 của @Zethson — đã merge

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
76/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
data

Hướng nghiên cứu

Đọc src/pertpy/data/_datasets.py và theo dõi URL được pertpy.data.dixit_2016_raw() sử dụng; so sánh URL đó với các mục của frangieh_2021_raw() và dixit_2016(). Kiểm tra URL hoặc siêu dữ liệu của dataset để xác định đúng tệp raw của Dixit, sau đó xác minh rằng hàm trả về dataset Dixit như mong đợi thay vì tệp Frangieh.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Python
Star
362
Fork
73
Merge trung bình
1 ngày 21 giờ
Pull request đã merge (30 ngày)
25

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của scverse/pertpy

Tất cả issue của scverse/pertpy

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.