Changeset 38990 for trunk/ippToPsps/jython/dvo.py
- Timestamp:
- Oct 28, 2015, 7:55:59 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/dvo.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/dvo.py
r38981 r38990 589 589 Imports the Photcode file 590 590 ''' 591 def importPhotcodes(self, path, tableName): 592 if True: 593 self.importPhotcodesOhana(path,tableName) 594 else: 595 self.importPhotcodesStilts(path,tableName) 596 597 ''' 598 Imports the Photcode file 599 ''' 591 600 def importPhotcodesOhana(self, path, tableName): 592 601 593 self.logger.infoPair("Importing file ", "%s (%s)" % (path, self.getFileSizeStr(self.getDiskSize(path))))602 self.logger.infoPair("Importing file with ohana", "%s (%s)" % (path, self.getFileSizeStr(self.getDiskSize(path)))) 594 603 self.logger.debugPair("Writing to database table", tableName) 595 604 … … 598 607 # table = stilts.tpipe(table, cmd='addcol -after TYPE TYPE_AS_INT "TYPE + 0"') 599 608 600 loadFITStoMYSQL (path, tableName)609 self.scratchDb.loadFITStoMYSQL (path, tableName) 601 610 602 611 self.logger.debugPair("Finished importing", tableName) … … 607 616 Imports the Photcode file 608 617 ''' 609 def importPhotcodes (self, path, tableName):618 def importPhotcodesStilts(self, path, tableName): 610 619 611 620 self.logger.infoPair("Importing file", "%s (%s)" % (path, self.getFileSizeStr(self.getDiskSize(path))))
Note:
See TracChangeset
for help on using the changeset viewer.
