[Bio] / Sprout / ERDBLoader.pl Repository:
ViewVC logotype

Diff of /Sprout/ERDBLoader.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16, Mon Jan 3 18:08:10 2011 UTC revision 1.18, Fri Jan 28 19:55:38 2011 UTC
# Line 209  Line 209 
209                      }                      }
210                  }                  }
211                  # Finish the sort step.                  # Finish the sort step.
212                  Trace("Finishing collate for $table.") if T(3);                  Trace("Finishing collate for $table.") if T(2);
213                  close $oh;                  close $oh;
214                  $stats->Add('tables-collated' => 1);                  $stats->Add('tables-collated' => 1);
215                  $stats->Add('collate-time' => time() - $sortStart);                  $stats->Add('collate-time' => time() - $sortStart);
             } else {  
                 # We have a data file and no sections, so we use the data file.  
                 $stats->Add('tables-found' => 1);  
             }  
216              # Now that we know we have a full data file, we can delete the              # Now that we know we have a full data file, we can delete the
217              # section files to make room in the data directory. The user can              # section files to make room in the data directory. The user can
218              # turn this behavior off with the keepSections option.              # turn this behavior off with the keepSections option.
# Line 229  Line 225 
225                  }                  }
226                  Trace("Section files for $table deleted.") if T(3);                  Trace("Section files for $table deleted.") if T(3);
227              }              }
228                } else {
229                    # We have a data file and no sections, so we use the data file.
230                    $stats->Add('tables-found' => 1);
231                }
232          }          }
233          # Were any tables missing?          # Were any tables missing?
234          if ($missingTable) {          if ($missingTable) {

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.18

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3