Changeset 32778
- Timestamp:
- Nov 23, 2011, 9:56:05 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/gpc1db.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/gpc1db.py
r32493 r32778 30 30 self.logger.debug("Gpc1Db destructor") 31 31 32 33 '''34 TODO35 '''36 def getIDsInThisDVODbForThisStageFudge(self):37 38 sql = "SELECT staticskyRun.sky_id \39 FROM staticskyInput, staticskyRun, stackRun, staticskyResult \40 WHERE staticskyRun.sky_id = staticskyInput.sky_id \41 AND staticskyInput.stack_id = stackRun.stack_id \42 AND staticskyInput.sky_id = staticskyResult.sky_id \43 AND staticskyRun.label like 'MD04.staticsky' \44 AND stackRun.filter like 'i%'"45 46 try:47 rs = self.executeQuery(sql)48 except:49 self.logger.exception("Can't query for ids in DVO")50 51 ids = []52 while (rs.next()):53 ids.append(rs.getInt(1))54 55 rs.close()56 57 self.logger.debug("Found %d items in DVO database '" % (len(ids)))58 59 return ids60 32 61 33 '''
Note:
See TracChangeset
for help on using the changeset viewer.
