From 39bf67ecbc612669d4a205e73844e96fa1456577 Mon Sep 17 00:00:00 2001 From: Gaurav Vaidya Date: Tue, 21 May 2019 10:00:46 -0400 Subject: [PATCH] Updated comments. --- src/wrappers/PhylogenyWrapper.js | 3 +++ 1 file changed, 3 insertions(+) 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())]; }