]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/min_vals
fixed bug in plot_histogram
[biopieces.git] / bp_bin / min_vals
index 77dc832d0d0999bd4893709f22ab3363e26044ca..7eeb7a6a4351a4431ae53c0bcb6c552e6c4320c5 100755 (executable)
@@ -33,7 +33,7 @@ use Maasha::Biopieces;
 # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 
 
-my ( $run_time_beg, $run_time_end, $options, $in, $out, $record, $key, $fh, %min_hash, $min_record );
+my ( $options, $in, $out, $record, $key, $fh, %min_hash, $min_record );
 
 $options = Maasha::Biopieces::parse_options(
     [
@@ -74,26 +74,22 @@ Maasha::Biopieces::put_record( $min_record, $fh );
 
 close $fh;
 
+Maasha::Biopieces::close_stream( $in );
+Maasha::Biopieces::close_stream( $out );
+
 
 # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 
 
 BEGIN
 {
-    $run_time_beg = Maasha::Biopieces::run_time();
-
-    Maasha::Biopieces::log_biopiece();
+    Maasha::Biopieces::status_set();
 }
 
 
 END
 {
-    Maasha::Biopieces::close_stream( $in );
-    Maasha::Biopieces::close_stream( $out );
-
-    $run_time_end = Maasha::Biopieces::run_time();
-
-    Maasha::Biopieces::run_time_print( $run_time_beg, $run_time_end, $options );
+    Maasha::Biopieces::status_log();
 }
 
 
@@ -101,4 +97,3 @@ END
 
 
 __END__
-