Changeset 39159 for trunk/ippToPsps/jython/queue.py
- Timestamp:
- Nov 18, 2015, 10:57:06 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/queue.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/queue.py
r38987 r39159 146 146 147 147 # 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 148 149 while dec <= self.skychunk.maxDec: 149 150 while ra <= self.skychunk.maxRa: … … 158 159 159 160 ids = self.ippToPspsDb.getItemsInThisBox(minRA, maxRA, minDEC, maxDEC) 160 161 161 162 self.logger.info("| %5.1f | %5.1f | %9d | %9d |" % ( 162 163 ra, … … 165 166 len(ids))) 166 167 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 169 175 ra = ra + 2*dR 170 176 # print "new ra: ", ra
Note:
See TracChangeset
for help on using the changeset viewer.
