diff --git a/src/wrappers/PhylogenyWrapper.js b/src/wrappers/PhylogenyWrapper.js index 1db3aae9..72be599f 100644 --- a/src/wrappers/PhylogenyWrapper.js +++ b/src/wrappers/PhylogenyWrapper.js @@ -213,6 +213,9 @@ class PhylogenyWrapper { // If that doesn't work, we can try to extract scientific names from // the node label. Note that taxonomic units will NOT be extracted from // the label if there is a taxonomic unit present! + // + // Note that old-style taxonomic units were lists while new-style taxonomic + // units are single objects. So we turn it into a single entry list here. return [TaxonomicUnitWrapper.fromLabel(nodeLabel.trim())]; }