Filtering Questions

Aperta
#34 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Non sono indicati né un file di implementazione né un test. Esamina la discussione della pull request #33, quindi chiarisci il comportamento previsto per i risultati filtrati vuoti e le righe con valori Image_filename o file_url sconosciuti; l'issue è completata quando questa policy è stata decisa e il comportamento previsto è stato documentato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
Python
Stelle
6
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Imageomics/dashboard-prototype

Tutte le issue di Imageomics/dashboard-prototype

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.