Browse Source

Cleaned up progress output on OBO loader

spficklin 12 years ago
parent
commit
f8ed5151e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tripal_cv/includes/obo_loader.inc

+ 1 - 1
tripal_cv/includes/obo_loader.inc

@@ -212,7 +212,7 @@ function tripal_cv_obo_process_terms($terms, $defaultcv, $obo, $jobid = NULL, &$
     if ($jobid and $i % $interval == 0) {
       $complete = ($i / $count) * 100;
       tripal_job_set_progress($jobid, intval($complete)); 
-      printf("%d of %d records. (%0.2f%%) memory: %d\r", $i, $count, $complete, memory_get_usage());                                                             
+      printf("%d of %d records. (%0.2f%%) memory: %s bytes\r", $i, $count, $complete, number_format(memory_get_usage()));                                                             
     }                                 
     
     // add/update this term