From 9091eee6d8b4b997911be2272f1544dd9f21d0b9 Mon Sep 17 00:00:00 2001 From: shawnlaffan Date: Mon, 4 Mar 2024 12:43:29 +1100 Subject: [PATCH] Indices: set _calc_phylo_abc_lists precalc to _calc_abc_any This way we take advantage of any of the calc_abc variants --- lib/Biodiverse/Indices/Phylogenetic.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Biodiverse/Indices/Phylogenetic.pm b/lib/Biodiverse/Indices/Phylogenetic.pm index 9274da53d..b665e3bb2 100644 --- a/lib/Biodiverse/Indices/Phylogenetic.pm +++ b/lib/Biodiverse/Indices/Phylogenetic.pm @@ -2668,7 +2668,7 @@ sub get_metadata__calc_phylo_abc_lists { name => 'Phylogenetic ABC lists', description => 'Calculate the sets of shared and not shared branches between two sets of labels', type => 'Phylogenetic Indices', - pre_calc => 'calc_abc', + pre_calc => '_calc_abc_any', pre_calc_global => [qw /get_trimmed_tree get_path_length_cache set_path_length_cache_by_group_flag/], uses_nbr_lists => 1, # how many sets of lists it must have required_args => {tree_ref => 1},