Changeset 35042
- Timestamp:
- Jan 24, 2013, 11:36:13 AM (13 years ago)
- Location:
- branches/eam_branches/ipp-20121219/ippToPsps/jython
- Files:
-
- 2 edited
-
dvo.py (modified) (1 diff)
-
scratchdb.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20121219/ippToPsps/jython/dvo.py
r35031 r35042 621 621 p.wait() 622 622 623 sql = "alter table dvoDetectionFull add key (objID, detectID)"624 self.scratchDb.execute(sql)625 626 623 # update lists after attempted sync 627 624 # self.printSummary() -
branches/eam_branches/ipp-20121219/ippToPsps/jython/scratchdb.py
r35033 r35042 340 340 rs.first() 341 341 if rs.getInt(1) < 50: 342 # print "bad astromety" 342 343 self.logger.debug("Bad astrometric solution for", ota) 343 344 return False 344 345 else: 346 # print "good astromety" 345 347 return True 346 348 except: 349 # print "query failed" 347 350 self.logger.debug("Unable to check astrometric solution") 348 351 return False … … 401 404 raErr REAL, \ 402 405 decErr REAL, \ 403 PRIMARY KEY (imageID, ippDetectID) \ 404 )" 406 PRIMARY KEY (imageID, ippDetectID), \ 407 KEY (objID, detectID) \ 408 )" 405 409 406 410 try: self.execute(sql)
Note:
See TracChangeset
for help on using the changeset viewer.
