Add a `--overwrite-if-different`

Abierto
#207 4 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
python
Área
backend

Línea de trabajo

Start by reading the pineko code that creates or reuses ekos and inspect how it reads the theory and operator from an eko. Work out which inputs determine whether two products are identical, then define and implement the --overwrite-if-different behavior. Done means the command reuses identical ekos and replaces ones that differ; the issue names no files or tests.

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

Descripción

enhancement

There are certain situations where we might not be sure whether an eko can be reused or not (for instance, if one tries to create both theories 40_000_000 and 41_000_000, many ekos will be the same for NLO and NNLO grids, but some won't due to new channels, different scales, etc).

The clever user might copy all ekos from one folder into the other, thinking they are hacking the system... however all sort of problems will arise.
Ideally pineko will look at the theory and operator inside the eko and realize when the resulting product would be exactly the same and when it won't.

Lenguaje dominante
Python
Estrellas
2
Forks
0
Merge medio
10 d 34 min
PR fusionados (30 d)
3

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 NNPDF/pineko

Todos los issues de NNPDF/pineko

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.