IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32778


Ignore:
Timestamp:
Nov 23, 2011, 9:56:05 AM (15 years ago)
Author:
rhenders
Message:

removed redundant method used to testing

File:
1 edited

Legend:

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

    r32493 r32778  
    3030        self.logger.debug("Gpc1Db destructor")
    3131
    32 
    33     '''
    34     TODO
    35     '''
    36     def getIDsInThisDVODbForThisStageFudge(self):
    37 
    38         sql = "SELECT staticskyRun.sky_id \
    39                FROM staticskyInput, staticskyRun, stackRun, staticskyResult \
    40                WHERE staticskyRun.sky_id = staticskyInput.sky_id \
    41                AND staticskyInput.stack_id = stackRun.stack_id \
    42                AND staticskyInput.sky_id = staticskyResult.sky_id \
    43                AND staticskyRun.label like 'MD04.staticsky' \
    44                AND stackRun.filter like 'i%'"
    45 
    46         try:
    47             rs = self.executeQuery(sql)
    48         except:
    49             self.logger.exception("Can't query for ids in DVO")
    50 
    51         ids = []
    52         while (rs.next()):
    53             ids.append(rs.getInt(1))
    54 
    55         rs.close()
    56 
    57         self.logger.debug("Found %d items in DVO database '" % (len(ids)))
    58 
    59         return ids
    6032
    6133    '''
Note: See TracChangeset for help on using the changeset viewer.