From 2d6edd8500faedd60a6148f74869c56cecf21909 Mon Sep 17 00:00:00 2001 From: cmzmasek Date: Tue, 14 Feb 2017 12:40:32 -0800 Subject: [PATCH] corrected error --- .../src/org/forester/applications/map_lengths.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/forester_applications/src/org/forester/applications/map_lengths.java b/forester_applications/src/org/forester/applications/map_lengths.java index 2c0e321..615ad0c 100644 --- a/forester_applications/src/org/forester/applications/map_lengths.java +++ b/forester_applications/src/org/forester/applications/map_lengths.java @@ -35,7 +35,7 @@ import org.forester.io.parsers.FastaParser; import org.forester.io.parsers.phyloxml.PhyloXmlParser; import org.forester.phylogeny.Phylogeny; import org.forester.phylogeny.PhylogenyNode; -import org.forester.phylogeny.data.PropertiesMap; +import org.forester.phylogeny.data.PropertiesList; import org.forester.phylogeny.data.Property; import org.forester.phylogeny.data.Property.AppliesTo; import org.forester.phylogeny.factories.ParserBasedPhylogenyFactory; @@ -72,9 +72,9 @@ public class map_lengths { node_name = node_name.substring( 0, node_name.indexOf( "/" ) ); final PhylogenyNode n = phy.getNode( node_name ); if ( n.getNodeData().getProperties() == null ) { - n.getNodeData().setProperties( new PropertiesMap() ); + n.getNodeData().setProperties( new PropertiesList() ); } - final PropertiesMap properties = n.getNodeData().getProperties(); + final PropertiesList properties = n.getNodeData().getProperties(); final Property p = new Property( "r:" + i, "" + actual_length, "", "xsd:integer", AppliesTo.NODE ); properties.addProperty( p ); } -- 1.7.10.2