Filtering Questions

Abierto
#34 0 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

Línea de trabajo

No se indica ningún archivo de implementación ni ninguna prueba. Revisa la discusión de la pull request #33 y, después, aclara el comportamiento previsto para los resultados filtrados vacíos y las filas con valores desconocidos de Image_filename o file_url; el issue estará terminado cuando se haya decidido esa política y se haya documentado su comportamiento esperado.

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

Descripción

question

I'd note that applying a search or filter to data that returns no results is in general not in error, and arguably should result in an empty result set, not an exception. It seems the picture here is complicated by the fact that based on filtering alone the result set isn't empty, but becomes empty once we remove rows that don't reference a valid image? Then the question is, is it an error to have rows without image to begin with, or is it not.

Regardless of the answer, I feel this doesn't need to be sorted out here. We're at the prototype stage, and now the function at least either returns a result of a consistent type, or it doesn't return a result (by raising an exception), which seems good enough. So perhaps open an issue with the above question to be considered down the road if and when there's a lot more continued development.

Originally posted by @hlapp in https://github.com/Imageomics/dashboard-prototype/pull/33#pullrequestreview-1540235417

Also noted in this review: Timing of filtering out "unknown" Image_filename and file_url values. It may be more efficient to filter these first with large data; however, do we wish to preserve (display) information about entries that may match user filters but be missing filename or path information?

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

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

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 Imageomics/dashboard-prototype

Todos los issues de Imageomics/dashboard-prototype

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.