Changeset 33352 for trunk/ippToPsps
- Timestamp:
- Feb 23, 2012, 4:15:22 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/batch.py (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/batch.py
r33290 r33352 21 21 22 22 ''' 23 Base class of all batch types.23 Abstract base class of all batch types. 24 24 ''' 25 25 class Batch(object): … … 33 33 gpc1Db, 34 34 ippToPspsDb, 35 scratchDb, 35 36 id, 36 37 batchID, … … 55 56 self.gpc1Db = gpc1Db 56 57 self.ippToPspsDb = ippToPspsDb 58 self.scratchDb = scratchDb 57 59 self.batchType = batchType; 58 60 self.pspsVoTableFilePath = "../config/" + batchType + "/tables.vot" … … 73 75 return 74 76 75 self.scratchDb = ScratchDb(logger, self.config, self.useFullTables) 76 77 if not self.scratchDb.everythingOK: return 77 self.scratchDb.setUseFullTables(self.useFullTables) 78 78 79 79 # TODO … … 488 488 489 489 # TODO path to DVO prog hardcoded temporarily 490 cmd = "../src/dvograbber " + self.config. path+ " " + self.config.dvoLocation490 cmd = "../src/dvograbber " + self.config.settingsPath + " " + self.scratchDb.dbName + " " + self.config.dvoLocation 491 491 self.logger.infoPair("Running DVO", cmd) 492 492 p = Popen(cmd, shell=True, stdout=PIPE) … … 534 534 Batch.publishToDatastore(self.datastore, self.batchID, self.batchName, self.subDir, tarballFile) 535 535 536 if self.config.reportNulls: self.reportNullsInAllPspsTables(False)537 538 536 from datastore import Datastore 539 537
Note:
See TracChangeset
for help on using the changeset viewer.
