Merging samples causes sample attributes to be overwritten

Đang mở
#552 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
tooling

Hướng nghiên cứu

Reproduce the merge with the sample table and the pipeline/pipeline_parallel.py command template, then trace looper's handling of non-unique sample names and merged attributes. Done means sample.score and sample.universe remain distinct after auto-merging, with coverage for the shown input.

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

Mô tả

bug

Per some initial investigation, I think this is a looper bug not a peppy bug.

Given a sample table where the names are not unique:

sample_name,score,universe
sample1,score, cc
sample1,score, ccf
sample1,no_score, cc
sample1,no_score, ccf

I noticed that, when running looper, the attributes passed to my piface will be overwritten during the sample merge.

Found 1 samples with non-unique names: {'sample1'}. Attempting to auto-merge.

command template example

python3 pipeline/pipeline_parallel.py {looper.output_dir} {sample.sample_name} {sample.score} {sample.universe}

so sample.universe becomes the same value as whatever is sample.score

I thought maybe I needed to use subsample table for this particular set up but looking at and then utilizing a subsample table from the docs did not solve this.

I had to give each sample name a unique identifier else my attributes were overwritten.

Ngôn ngữ chính
Python
Star
25
Fork
7
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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 pepkit/looper

Tất cả issue của pepkit/looper

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.