Skip to content

Commit

Permalink
Fixes #738 (#741)
Browse files Browse the repository at this point in the history
* Sorts branch selection menu elements.
  • Loading branch information
stevenweaver authored Jan 24, 2018
1 parent dd2474f commit d17a655
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ lfunction selection.io.defineBranchSets(partition_info) {
if (Abs (partition_info) == 1) { // allow more refined selections if there is only one tree
tree_for_analysis = (partition_info[0])[utility.getGlobalValue("terms.data.tree")];
utility.ForEach (tree_for_analysis[utility.getGlobalValue("terms.trees.model_map")], "_value_", "`&available_models`[_value_] += 1");
list_models = utility.Keys (available_models); // get keys
branch_counts = utility.Values (available_models);
list_models = utility.sortStrings(utility.Keys (available_models)); // get keys
option_count = Abs (available_models);
} else {
option_count = 0;
Expand Down

0 comments on commit d17a655

Please sign in to comment.