IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 6, 2017, 11:16:30 AM (10 years ago)
Author:
eugene
Message:

merge changes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20160809/ippToPsps/jython/gpc1db.py

    r39544 r39922  
    659659
    660660
     661    '''
     662    Gets the exp_id from teh exp_name
     663    '''
     664    def getExpIdFromExpName(self, expName):
     665       sql = "SELECT exp_id from rawExp where exp_name = '"+expName+"'"
     666       try:
     667           rs = self.executeQuery(sql)
     668       except:
     669           self.logger.infoPair("failed sql:",sql)
     670           self.logger.exception("Can't query for imageIDs")
     671           
     672
     673       expIDs = []
     674       while (rs.next()):
     675           expIDs.append(rs.getString(1))
     676       rs.close()
     677       expID = expIDs[0]
     678       return expID
     679
     680   
     681
     682
    661683
    662684    '''
Note: See TracChangeset for help on using the changeset viewer.