]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/plot_lendist
adding bzip2 support in ruby
[biopieces.git] / bp_bin / plot_lendist
index 58f9145fbcad051eb4ef9a19b4475ea9df4b5088..6cb7090635d07b63884e34246bfbe4126219c113 100755 (executable)
@@ -66,7 +66,7 @@ while ( $record = Maasha::Biopieces::get_record( $in ) )
 
 $max = Maasha::Calc::list_max( [ keys %data_hash ] );
 
-for ( $i = 0; $i < $max; $i++ ) {
+for ( $i = 0; $i <= $max; $i++ ) {
     push @data_list, [ $i, $data_hash{ $i } || 0 ];
 }