From fd012efb947ceaea813c7e296e7da6d76fdeda6d Mon Sep 17 00:00:00 2001 From: shawnlaffan Date: Sun, 25 Feb 2024 15:31:02 +1100 Subject: [PATCH] Indices: revert calc_labels_on_tree dep back to calc_abc It needs hash values of 1, which abc2 and abc3 do not usually provide. --- 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 9e98309b4..22d33680f 100644 --- a/lib/Biodiverse/Indices/Phylogenetic.pm +++ b/lib/Biodiverse/Indices/Phylogenetic.pm @@ -1603,7 +1603,7 @@ sub get_metadata_calc_labels_on_tree { }, type => 'Phylogenetic Indices', # keeps it clear of the other indices in the GUI pre_calc_global => [qw /get_labels_not_on_tree/], - pre_calc => ['_calc_abc_any'], + pre_calc => ['calc_abc'], uses_nbr_lists => 1, # how many lists it must have required_args => ['tree_ref'], );