Changeset 38990 for trunk/ippToPsps/jython/batch.py
- Timestamp:
- Oct 28, 2015, 7:55:59 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/batch.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/batch.py
r38987 r38990 452 452 Accepts a regular expression filter so not all tables need to be imported 453 453 ''' 454 def importIppTables(self, columns="*", filter=""): 455 if self.useOhanaMYSQLtoFITS: 456 if not self.importIppTablesOhana(): 457 self.logger.errorPair("problem running", "importIppTablesOhana") 458 return False 459 else: 460 if not self.importIppTablesStilts(columns, filter): 461 self.logger.errorPair("problem running", "importIppTablesStilts") 462 return False 463 464 return True 465 466 ''' 467 Imports IPP tables from FITS file 468 469 Accepts a regular expression filter so not all tables need to be imported 470 ''' 454 471 def importIppTablesOhana(self): 455 472 … … 463 480 return False 464 481 465 loadFITStoMYSQL(self.fits.getPath(), "none")482 self.scratchDb.loadFITStoMYSQL(self.fits.getPath(), "none") 466 483 467 484 ## may need to do this with direct sql: … … 496 513 Accepts a regular expression filter so not all tables need to be imported 497 514 ''' 498 def importIppTables (self, columns="*", filter=""):515 def importIppTablesStilts(self, columns="*", filter=""): 499 516 500 517 self.logger.infoPair("Importing tables with filter", filter)
Note:
See TracChangeset
for help on using the changeset viewer.
