Ignore:
Timestamp:
27/07/09 16:18:00 (10 years ago)
Author:
sdonegan
Message:

Updated to allow extraction of end date into special column to allow ordering by this

File:
1 edited

Legend:

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

    r5464 r5524  
    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,datasetStartDateNom, xq, docType): 
     35    def __init__(self, filename, ndg_dataprovider, datacentre_groups, datacentre_namespace, discovery_id,datasetName,datacentreName,datasetLastEditUpdateDate,datasetStartDateNom, datasetEndDateNom, xq, docType): 
    3636                  
    3737        logging.info("Setting up Postgres record for file, " + filename) 
     
    5858        self.datacentre_name = datacentreName 
    5959        self.datasetStartNom = datasetStartDateNom 
     60        self.datasetEndNom = datasetEndDateNom 
    6061 
    6162        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.