Changeset 38891 for trunk/ippToPsps/jython/gpc1db.py
- Timestamp:
- Oct 20, 2015, 2:17:07 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/gpc1db.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/gpc1db.py
r38358 r38891 285 285 AND stage_id = " + str(stageID) 286 286 287 try: 288 rs = self.executeQuery(sql) 289 except: 290 self.logger.exception("Can't query for addIDs using :" + sql ) 287 rs = self.executeQuery(sql) 291 288 292 289 addIDs = [] … … 306 303 def getListOfDiffSkyFileIdsForDiffBatch(self, dvoDb, stageID): 307 304 308 self.logger.debug("Querying GPC1 for add IDs for ff_id: " + str(stageID))305 self.logger.debug("Querying GPC1 for add IDs for diff_id: " + str(stageID)) 309 306 stage = "diff" 310 307 sql = "SELECT diff_skyfile_id \ … … 490 487 join fullForceResult using (ff_id, warp_id) \ 491 488 where add_id = %d" % forcedWarpID 489 492 490 try: 493 491 rs = self.executeQuery(sql) … … 506 504 files = [] 507 505 if pathBase.startswith("neb"): 508 509 506 f=os.popen("neb-ls -p " + pathBase + ".cmf") 510 507 for i in f.readlines(): 511 512 508 files.append(i.rstrip()) 513 509 510 else: 511 files = glob.glob(pathBase + ".cmf") 512 514 513 515 514 if len(files) < 1: return None
Note:
See TracChangeset
for help on using the changeset viewer.
