IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 30, 2015, 5:01:15 PM (11 years ago)
Author:
watersc1
Message:

Updates to make DF batches work. Test suite changes to implement that. There are still a few issues with header keywords not being respected completely, but I'm not fully sure if that's due to the simulated data or not. Change to fulltest.sh to move dbuser/pass into variables that can be changed easily.

File:
1 edited

Legend:

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

    r38973 r39015  
    433433    def getDiffStageMeta(self, diffSkyfileID):
    434434
    435         self.logger.debug("Querying GPC1 for stack meta data")
     435        self.logger.debug("Querying GPC1 for diff meta data")
    436436
    437437        meta = []
     
    528528               JOIN diffInputSkyfile on (diff_skyfile_id = stage_extra1 \
    529529               AND diff_id = stage_id AND stage = 'diff') \
    530                JOIN diffSkyfile using (diff_id, skycell_id) \
     530               JOIN diffSkyfile using (diff_id, skycell_id, diff_skyfile_id) \
    531531               WHERE diff_skyfile_id = " + str(diffSkyfileID) + " \
    532532               AND minidvodbRun.state = 'merged' \
     
    557557                files.append(i.rstrip())
    558558                print "append"
    559         print i
     559# No clue what this is here for, but it breaks things.               
     560#        print i
     561        else:
     562            files = glob.glob(pathBase + ".cmf")
     563
    560564        if len(files) < 1: return None
    561565        fits = Fits(self.logger, self.config, files[0])
Note: See TracChangeset for help on using the changeset viewer.