X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Fmsa%2FMsaCompactor.java;h=73f0c6300e06da30934abd258a78d3820d25dbda;hb=d4d61f9d2969283e821f650d031c169899fb3870;hp=90b2ccc1cf37fdcec0a6e2875707d9bdb9e5a355;hpb=764e1546f1bcc4f6b52be283bdd801372ed2ee54;p=jalview.git diff --git a/forester/java/src/org/forester/msa/MsaCompactor.java b/forester/java/src/org/forester/msa/MsaCompactor.java index 90b2ccc..73f0c63 100644 --- a/forester/java/src/org/forester/msa/MsaCompactor.java +++ b/forester/java/src/org/forester/msa/MsaCompactor.java @@ -141,7 +141,7 @@ public class MsaCompactor { final private void write( final File outfile, final double gr ) throws IOException { writeMsa( outfile + "_" + _msa.getNumberOfSequences() + "_" + _msa.getLength() + "_" - + ForesterUtil.roundToInt( gr * 100 ) + ".aln" ); + + ForesterUtil.roundToInt( gr * 100 ) + ".fasta" ); } final private void writeMsa( final String outfile ) throws IOException { @@ -188,19 +188,7 @@ public class MsaCompactor { final private DescriptiveStatistics[] calcStats() { final DescriptiveStatistics stats[] = calc(); sort( stats ); - for( int i = 0; i < stats.length; ++i ) { - final DescriptiveStatistics s = stats[ i ]; - // System.out.print( s.getDescription() ); - // System.out.print( "\t" ); - // System.out.print( s.arithmeticMean() ); - // System.out.print( "\t(" ); - // System.out.print( s.arithmeticMean() ); - // System.out.print( ")" ); - // System.out.print( "\t" ); - // System.out.print( s.getMin() ); - // System.out.print( "\t" ); - // System.out.print( s.getMax() ); - // System.out.println(); + for( final DescriptiveStatistics s : stats ) { } return stats; }