IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 18, 2015, 10:57:06 AM (11 years ago)
Author:
eugene
Message:

add some test verbosity, commented out

File:
1 edited

Legend:

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

    r38987 r39159  
    146146
    147147                    # XXX not sure why this is not done with a for-loop...
     148                    # answer: because python does not have a good float-style for-loop
    148149                    while dec <= self.skychunk.maxDec:
    149150                        while ra <= self.skychunk.maxRa:
     
    158159           
    159160                           ids = self.ippToPspsDb.getItemsInThisBox(minRA, maxRA, minDEC, maxDEC)
    160    
     161
    161162                           self.logger.info("|    %5.1f    |    %5.1f    |  %9d  |  %9d  |" % (
    162163                                       ra,
     
    165166                                       len(ids)))
    166167               
    167                            if len(ids) > 0: self.ippToPspsDb.insertPending(box_id, batchType, ids)
    168                            # print "inserted pending"
     168                           if len(ids) > 0:
     169                               ## for myID in ids:
     170                               ##     print "id: %d : %10.6f - %10.6f | %10.6f - %10.6f" % (myID, minRA, maxRA, minDEC, maxDEC)
     171
     172                               self.ippToPspsDb.insertPending(box_id, batchType, ids)
     173                               # print "inserted pending"
     174
    169175                           ra = ra + 2*dR
    170176                           # print "new ra: ", ra
Note: See TracChangeset for help on using the changeset viewer.