]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/biostat
renamed assemle_seq_idba assemble_seq_idba
[biopieces.git] / bp_bin / biostat
index 6a7d0406bc0fd1c7d5ceb3138e15068e1633b0d2..175d6fd5c1d9b75e6dedab1cffed0969ebfba0ff 100755 (executable)
@@ -76,11 +76,6 @@ while ( 1 )
 
             push @table, $info;
         }
-        else
-        {
-            print STDERR "Removing stale file: $file\n";
-            unlink $file;
-        }
     }
 
     if ( $options->{ 'sort' } =~ /^(USER|TMP_DIR|START_TIME|RUN_TIME|COMMAND)$/ ) {
@@ -169,6 +164,7 @@ sub get_status_info
     my ( $fh, $line, $time, $args, $tmp_dir, $du );
 
     $fh = Maasha::Filesys::file_read_open( $file );
+    flock($fh, 1);
     $line = <$fh>;
     close $fh;