Skip to content

Commit

Permalink
fix: Sort samples in dashboard automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianMichelsen committed Sep 28, 2022
1 parent c918ca5 commit 2bb0bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metaDMG/viz/viz_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def get_dropdown_file_selection(viz_results, id, samples_to_show="all"):

special_samples = ["Select all", "Default selection"]
N_special_samples = len(special_samples)
all_samples = special_samples + viz_results.samples
all_samples = special_samples + sorted(viz_results.samples)

if samples_to_show is None:
values = all_samples
Expand Down

0 comments on commit 2bb0bd0

Please sign in to comment.