Ignore:
Timestamp:
02/06/08 10:43:00 (11 years ago)
Author:
cbyrom
Message:

Update code to allow the extraction of authors, parameters and scope
from moles files + adjust the data model to handle these new data.

File:
1 edited

Legend:

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

    r3869 r3967  
    229229        sqlCmd = "SELECT create_document('" + self._record.filename + "', '" + \ 
    230230            self._record.discovery_id + "', '" + self._record.docType + "', '" + \ 
    231             self._record.originalFormat + "');"  
     231            self._record.originalFormat + "', '" + self._record.getAuthorsInfo() + "', '" + \ 
     232            self._record.getParametersInfo() + "', '" + self._record.getScopeInfo() + "');"  
    232233 
    233234        id = db_funcs.runSQLCommand(self._connection, sqlCmd) 
     
    258259            self._record.filename + "', '" + \ 
    259260            self._record.discovery_id + "', '" + self._record.docType + "', '" + \ 
    260             self._record.originalFormat + "', '" + str(self._record.scn) + "');" 
     261            self._record.originalFormat + "', '" + self._record.getAuthorsInfo + "', '" + \ 
     262            self._record.getParametersInfo + "', '" + self._record.getScopeInfo + "', '" + str(self._record.scn) + "');" 
    261263        db_funcs.runSQLCommand(self._connection, sqlCmd) 
    262264         
Note: See TracChangeset for help on using the changeset viewer.