Changeset 6100 for TI01-discovery


Ignore:
Timestamp:
09/12/09 14:48:50 (10 years ago)
Author:
sdonegan
Message:

updated reporting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/branches/ingestAutomation-upgrade/OAIBatch/run_all_ingest.py

    r6093 r6100  
    6565                    if len(words) == 0: 
    6666                        continue 
    67                     if words[0] == 'PROCESSED': 
     67                    if words[0] == 'TOTAL_PROCESSED': 
    6868                        summaryFile.write("Number of processed files: " + words[1] + "\n") 
    69                     if words[0] == 'INGESTED': 
    70                         summaryFile.write("Number of ingested files: " + words[1] + "\n") 
    71                     if words[0] == 'PROBLEM_NUM': 
     69                    if words[0] == 'INGESTED_Created': 
     70                        summaryFile.write("Number of ingested (created) files: " + words[1] + "\n") 
     71                    if words[0] == 'INGESTED_Updated': 
     72                        summaryFile.write("Number of ingested (updated) files: " + words[1] + "\n") 
     73                    if words[0] == 'DELETED': 
     74                        summaryFile.write("Number of deleted files: " + words[1] + "\n") 
     75                    if words[0] == 'PROBLEM_FILES': 
    7276                        summaryFile.write("Number of problem files: " + words[1] + "\n") 
    7377                    if words[0] == 'PROBLEM_FILE': 
     
    7579 
    7680                    ingest_report_file.close() 
    77  
     81                     
     82                     
    7883            except: 
    7984                summaryFile.write("Could not extract summary info for " + datacentre + " ingest!!\n") 
Note: See TracChangeset for help on using the changeset viewer.