]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/add_ident
implementing status solution
[biopieces.git] / bp_bin / add_ident
index 26497ef0c57afaf781a40cf210473f5fac5671fc..bbf6623727b09b3341997e34623a1c58df1f8e30 100755 (executable)
@@ -33,7 +33,7 @@ use Maasha::Biopieces;
 # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 
 
-my ( $run_time_beg, $run_time_end, $options, $in, $out, $record, $key, $prefix, $i );
+my ( $options, $in, $out, $record, $key, $prefix, $i );
 
 $options = Maasha::Biopieces::parse_options(
     [
@@ -59,26 +59,22 @@ while ( $record = Maasha::Biopieces::get_record( $in ) )
     $i++;
 }
 
+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();
 }
 
 
@@ -86,4 +82,3 @@ END
 
 
 __END__
-