Bug #945
Updated by Aaron Marcuse-Kubitza over 10 years ago
_this this is "TNRS-195":https://pods.iplantcollaborative.org/jira/browse/TNRS-195 on the TNRS JIRA bug tracker_ tracker TNRS's synonym-selection algorithm incorrectly considers taxonomic_status when sorting names, which causes a worse Tropicos synonym to be selected instead of a better TPL synonym (when TPL is ranked before Tropicos in the source sort order) the fix for this is to remove lines 784-786 of "@class.tnrs_aggregator.php@":https://github.com/iPlantCollaborativeOpenSource/TNRS/blob/master/taxamatch-webservice-read-only/api/classes/class.tnrs_aggregator.php#L766 (on the dev server): <pre><code class="PHP"> if ($aa != $ba) { return (self::$acceptance_array[$aa] > self::$acceptance_array[$ba]) ? -1 : +1; } </code></pre> (note that the vars @$aa@, @$ba@ are set on lines 766-767)