X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Fapplication%2Fsupport_statistics.java;h=938f5e0a17db837ffe791676015f478c98a0f3d3;hb=c0439ed8b088887ffea2faf11bc7897333287cb3;hp=42350487f2c4ce0127c00871c157e64612cc4364;hpb=eee996a6476a1e3d84c07f8f690dcde3ff4b2ef5;p=jalview.git diff --git a/forester/java/src/org/forester/application/support_statistics.java b/forester/java/src/org/forester/application/support_statistics.java index 4235048..938f5e0 100644 --- a/forester/java/src/org/forester/application/support_statistics.java +++ b/forester/java/src/org/forester/application/support_statistics.java @@ -21,7 +21,7 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA // // Contact: phylosoft @ gmail . com -// WWW: www.phylosoft.org/forester +// WWW: https://sites.google.com/site/cmzmasek/home/software/forester package org.forester.application; @@ -32,6 +32,7 @@ import java.util.ArrayList; import java.util.List; import org.forester.io.parsers.PhylogenyParser; +import org.forester.io.parsers.util.ParserUtils; import org.forester.phylogeny.Phylogeny; import org.forester.phylogeny.PhylogenyMethods; import org.forester.phylogeny.PhylogenyNode; @@ -117,7 +118,7 @@ public final class support_statistics { if ( dss_comp != null ) { sb.append( ForesterUtil.getLineSeparator() ); sb.append( "\t" + ForesterUtil.normalizeString( "values for support means:", max_length, true, ' ' ) - + "\t\t" ); + + "\t\t" ); sb.append( ForesterUtil.round( dss_comp.arithmeticMean(), support_statistics.PLACES ) + "\t" ); sb.append( ForesterUtil.round( dss_comp.sampleStandardDeviation(), support_statistics.PLACES ) + "\t" ); sb.append( ForesterUtil.round( dss_comp.getMin(), support_statistics.PLACES ) + "\t" ); @@ -176,8 +177,7 @@ public final class support_statistics { for( int i = 0; i < phylogenies_infiles.length; i++ ) { try { final PhylogenyFactory factory = ParserBasedPhylogenyFactory.getInstance(); - final PhylogenyParser pp = ForesterUtil - .createParserDependingOnFileType( phylogenies_infiles[ i ], true ); + final PhylogenyParser pp = ParserUtils.createParserDependingOnFileType( phylogenies_infiles[ i ], true ); phylogenies[ i ] = factory.create( phylogenies_infiles[ i ], pp )[ 0 ]; } catch ( final IOException e ) {