Merging samples causes sample attributes to be overwritten

Abierto
#552 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python
Área
tooling

Línea de trabajo

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.

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

Descripción

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.

Lenguaje dominante
Python
Estrellas
25
Forks
7
Métricas de merge de PR
Sin PR fusionados en 30 d

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

Todos los issues de pepkit/looper

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.