IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 16, 2014, 5:30:25 PM (12 years ago)
Author:
heather
Message:

diffbatch is very close - need to add rest of dvo stuffs and then cull the nulls and we are good to go!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/gpc1db.py

    r37749 r37750  
    354354               FROM warpSkyCellMap \
    355355               JOIN warpRun USING(warp_id) \
    356                JOIN diffInputSkyfile on warp1 = warp_id \
    357                WHERE diffInputSkyfile.diff_skyfile_id = " + str(diffID) + " AS a"
    358 
    359         try:
    360             rs = self.executeQuery(sql)
    361         except:
     356               JOIN diffInputSkyfile on warp1 = warp_id  \
     357               JOIN fakeRun using (fake_id) \
     358               JOIN camRun using (cam_id) \
     359               JOIN chipRun using (chip_id) \
     360               WHERE diffInputSkyfile.diff_skyfile_id = " + str(diffID) + ") AS a"
     361
     362        try:
     363            rs = self.executeQuery(sql)
     364        except:
     365            self.logger.infoPair("failed sql:",sql)
    362366            self.logger.exception("Can't query for imageIDs")
     367           
    363368
    364369        imageIDs = []
Note: See TracChangeset for help on using the changeset viewer.