Skip to content

add sorting for dataset

payno requested to merge fix_8 into master

context

Some users can be lost sometime when they process a lot of datasets. Especially if they need at one point to close the application and resume processing. One of the bottleneck is that they cannot really order the datasets for now. But if they could order them from 'acquisition date' for example the bottleneck will be reduced.

actions

Add several options to sort the datasets:

  • dataset alphabetical order (dataset name)
  • dataset reverse alphabetical order
  • dataset creation time order
  • dataset reverse creation time order
  • dataset modification time
  • dataset reverse modification time
  • dataset first appearance on workflow order
  • dataset last appearance on workflow order

note on design

The idea is that the 'identifier' is used on the widget to avoid keeping the full dataset in memory. And from this identifier we can recreated the dataset on itself. So the idea is to provide some 'metadata' to the identifier that should be small and enough to order identifiers within each others. The metadata is a simple dict that can take as keys:

  • name: name to be used to sort dataset
  • creation_time: creation of the dataset
  • modification_time: modification of the dataset

This metadata is of course optional as any of the key.

extra

close #8 (closed)

screenshots

image image

Edited by payno

Merge request reports

Loading