Ignore:
Timestamp:
07/07/09 12:32:27 (11 years ago)
Author:
sdonegan
Message:

Allow start date to be inserted into new column in original doc to allow ordering by date - even if no date entry in record

File:
1 edited

Legend:

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

    r5415 r5464  
    3333         
    3434    #def __init__(self, filename, ndg_dataprovider, datacentre_groups, datacentre_namespace, discovery_id, xq, docType): 
    35     def __init__(self, filename, ndg_dataprovider, datacentre_groups, datacentre_namespace, discovery_id,datasetName,datacentreName,datasetLastEditUpdateDate, xq, docType): 
     35    def __init__(self, filename, ndg_dataprovider, datacentre_groups, datacentre_namespace, discovery_id,datasetName,datacentreName,datasetLastEditUpdateDate,datasetStartDateNom, xq, docType): 
    3636                  
    3737        logging.info("Setting up Postgres record for file, " + filename) 
     
    5757        self.dataset_lastEdit = datasetLastEditUpdateDate 
    5858        self.datacentre_name = datacentreName 
     59        self.datasetStartNom = datasetStartDateNom 
    5960 
    6061        self._molesFormat = None    # initialise this, so we can guarantee a value - to avoid using getattr 
Note: See TracChangeset for help on using the changeset viewer.