- Timestamp:
- Jan 31, 2013, 4:13:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20121219/ippToPsps/jython/stackbatch.py
r35060 r35076 33 33 logger, 34 34 config, 35 skychunk, 35 36 gpc1Db, 36 37 ippToPspsDb, … … 43 44 logger, 44 45 config, 46 skychunk, 45 47 gpc1Db, 46 48 ippToPspsDb, … … 49 51 batchID, 50 52 "ST", 51 gpc1Db.getStackStageCmf( config.dvoLabel, stackID),53 gpc1Db.getStackStageCmf(skychunk.dvoLabel, stackID), 52 54 useFullTables) 53 55 … … 421 423 self.scratchDb.updateAllRows("StackMeta", "surveyID", str(self.surveyID)) 422 424 self.scratchDb.updateFilterID("StackMeta", self.filter) 423 self.scratchDb.updateAllRows("StackMeta", "dataRelease", str(self. config.dataRelease))425 self.scratchDb.updateAllRows("StackMeta", "dataRelease", str(self.skychunk.dataRelease)) 424 426 self.updateStackTypeID("StackMeta") 425 427 … … 528 530 self.scratchDb.updateFilterID("StackDetection", self.filter) 529 531 530 self.scratchDb.updateAllRows("StackDetection", "dataRelease", str(self. config.dataRelease))532 self.scratchDb.updateAllRows("StackDetection", "dataRelease", str(self.skychunk.dataRelease)) 531 533 532 534 self.scratchDb.updateAllRows("StackDetection", "primaryF", "0") … … 612 614 self.scratchDb.updateAllRows("StackApFlx", "surveyID", str(self.surveyID)) 613 615 self.scratchDb.updateFilterID("StackApFlx", self.filter) 614 self.scratchDb.updateAllRows("StackApFlx", "dataRelease", str(self. config.dataRelease))616 self.scratchDb.updateAllRows("StackApFlx", "dataRelease", str(self.skychunk.dataRelease)) 615 617 self.scratchDb.updateAllRows("StackApFlx", "primaryF", "0") 616 618 self.scratchDb.updateAllRows("StackApFlx", "activeFlag", "0") … … 646 648 self.scratchDb.updateAllRows("StackModelFit", "surveyID", str(self.surveyID)) 647 649 self.scratchDb.updateFilterID("StackModelFit", self.filter) 648 self.scratchDb.updateAllRows("StackModelFit", "dataRelease", str(self. config.dataRelease))650 self.scratchDb.updateAllRows("StackModelFit", "dataRelease", str(self.skychunk.dataRelease)) 649 651 self.scratchDb.updateAllRows("StackModelFit", "primaryF", "0") 650 652 self.scratchDb.updateAllRows("StackModelFit", "activeFlag", "0") … … 711 713 712 714 self.scratchDb.updateAllRows("SkinnyObject", "surveyID", str(self.surveyID)) 713 self.scratchDb.updateAllRows("SkinnyObject", "dataRelease", str(self. config.dataRelease))715 self.scratchDb.updateAllRows("SkinnyObject", "dataRelease", str(self.skychunk.dataRelease)) 714 716 715 717 ''' … … 756 758 AND b.imageID = " + str(imageID) 757 759 self.scratchDb.execute(sql) 758 self.scratchDb.updateAllRows(tableName, "dataRelease", str(self. config.dataRelease))760 self.scratchDb.updateAllRows(tableName, "dataRelease", str(self.skychunk.dataRelease)) 759 761 760 762 def populateStackDetectionCalib(self): … … 787 789 b.expTime, \ 788 790 b.airMass, \ 789 " + str(self. config.dataRelease) + " \791 " + str(self.skychunk.dataRelease) + " \ 790 792 FROM \ 791 793 StackDetection as a \ … … 801 803 802 804 ## XXX write this with the select/insert 803 # self.scratchDb.updateAllRows(tableName, "dataRelease", str(self. config.dataRelease))805 # self.scratchDb.updateAllRows(tableName, "dataRelease", str(self.skychunk.dataRelease)) 804 806 805 807 ''' … … 821 823 822 824 self.scratchDb.updateFilterID("ObjectCalColor", self.filter) 823 self.scratchDb.updateAllRows("ObjectCalColor", "dataRelease", str(self. config.dataRelease))825 self.scratchDb.updateAllRows("ObjectCalColor", "dataRelease", str(self.skychunk.dataRelease)) 824 826 825 827
Note:
See TracChangeset
for help on using the changeset viewer.
