Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort iteration according to human logic #280

Open
daniel-sol opened this issue Jan 8, 2024 · 1 comment
Open

Sort iteration according to human logic #280

daniel-sol opened this issue Jan 8, 2024 · 1 comment

Comments

@daniel-sol
Copy link
Contributor

Iteration names are now sorted according to machine logic.
E.g :

pred-1, pred-100, pred-2, pred-3

For a human it is desirable with logic:
pred-1, pred-2, pred-3, pred-100

@perolavsvendsen
Copy link
Member

perolavsvendsen commented Mar 23, 2024

There is no standard on iteration (ensemble) names. It is a mix of conventions and free text. (E.g. does the pattern described above (pred-1, pred-2, etc) exist outside Troll?)

It is difficult to find a universal rule that will work.

Example: iter-0, iter-2, iter-10, pred.
Example: iter-0, iter-2, pred-1, pred-2, pred-10.
Example: myiter, myotheriter, final, first, test

Trying to sort on name I think could quickly explode into quite a lot of code. Perhaps better to sort on datetime? First created, first listed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants