Ignore:
Timestamp:
23/11/06 17:41:59 (13 years ago)
Author:
selatham
Message:

made ndgdoc style wrapping optional. Turned off in script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/trunk/ingestAutomation/OAIBatch/oai_ingest.py

    r1620 r1754  
    133133# The file config.properties contains the location of the particular datacentres harvested records. 
    134134# Copy the datacentre specific version of config to config.properties file. 
    135  
    136135commandline = "cp /usr/local/WSClients/OAIBatch/" + datacentre +"_config.properties /usr/local/WSClients/OAIBatch/config.properties" 
    137136print "Executing : " + commandline 
     
    147146indir="/usr/local/WSClients/OAIBatch/data/" + datacentre +"/oai/originals" 
    148147outdir="/usr/local/WSClients/OAIBatch/data/" + datacentre +"/discovery" 
     148wrapFlag=false 
    149149filenames = os.listdir(indir) 
    150150for filename in filenames: 
     
    153153                print "Processing : " + full_filename 
    154154                #try: 
    155                 oaiClean.oaiClean(indir,outdir,filename,datacentre_groups) 
     155                oaiClean.oaiClean(indir,outdir,filename,wrapFlag) 
    156156                #except: 
    157157                #    sys.exit("Failed at processing file %s with oaiClean.py stage with status %s" %(full_filename, sys.exc_info())) 
Note: See TracChangeset for help on using the changeset viewer.