Filtering Questions

Đang mở
#34 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
data-visualization

Hướng nghiên cứu

Không có tệp triển khai hoặc bài kiểm thử nào được nêu. Hãy xem lại phần thảo luận từ pull request #33, sau đó làm rõ hành vi dự kiến đối với các kết quả đã lọc rỗng và các hàng có giá trị Image_filename hoặc file_url không xác định; issue được hoàn tất khi chính sách đó được quyết định và hành vi dự kiến của nó được ghi lại.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?

Ngôn ngữ chính
Python
Star
6
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Imageomics/dashboard-prototype

Tất cả issue của Imageomics/dashboard-prototype

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.