Merging samples causes sample attributes to be overwritten

オープン
#552 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
tooling

調査の方向性

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.

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

説明

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.

主要言語
Python
スター
25
フォーク
7
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

pepkit/looper のほかの issue

pepkit/looper の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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