Changeset 38891
- Timestamp:
- Oct 20, 2015, 2:17:07 PM (11 years ago)
- Location:
- trunk/ippToPsps/jython
- Files:
-
- 4 edited
-
gpc1db.py (modified) (4 diffs)
-
ippjytest (modified) (1 diff)
-
ipptopspsdb.py (modified) (1 diff)
-
stackbatch.py (modified) (1 diff)
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 -
trunk/ippToPsps/jython/ippjytest
r37246 r38891 20 20 setenv IPPTOPSPS_DATA $datadir/ipptopsps 21 21 22 # XXX install jython in JARDIR 23 set JYTHON = $JARDIR/jython2.5.3b1/jython.jar 24 # set JYTHON = ~/jython2.5.3b1/jython.jar 25 #set JYTHON = $JARDIR/jython.jar 22 # both jython.jar and Lib from jython2.5.3b1 must be installed in JARDIR 23 set JYTHON = $JARDIR/jython.jar 26 24 27 25 if (! -r $JYTHON) then -
trunk/ippToPsps/jython/ipptopspsdb.py
r38837 r38891 1627 1627 AND skychunk = '" + self.skychunk.name + "'" 1628 1628 1629 print "--- sql: " + sql 1629 1630 self.execute(sql) 1630 1631 -
trunk/ippToPsps/jython/stackbatch.py
r38880 r38891 1361 1361 1362 1362 for table in tables: 1363 1364 1363 match = re.match(tableRE, table.name) 1365 1364 if not match: continue
Note:
See TracChangeset
for help on using the changeset viewer.
