]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/grab
implementing status solution
[biopieces.git] / bp_bin / grab
index 1fecf4303acbedefaa94b1ca18be8896fbbc5fde..806ae1c10d2ad70c5a2708efce01f783e5dc14eb 100755 (executable)
@@ -120,6 +120,8 @@ while ( $record = Maasha::Biopieces::get_record( $in ) )
     }
 }
 
+Maasha::Biopieces::close_stream( $in );
+Maasha::Biopieces::close_stream( $out );
 
 
 # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> SUBROUTINES <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
@@ -274,20 +276,13 @@ sub grab_eval
 
 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();
 }
 
 
@@ -295,4 +290,3 @@ END
 
 
 __END__
-