Changeset 33191 for trunk/ippToPsps/jython/load.py
- Timestamp:
- Feb 1, 2012, 2:31:08 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/load.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/load.py
r32579 r33191 60 60 else: 61 61 62 if MINRA and MAXRA and MINDEC and MAXDEC: 63 allIDs = gpc1Db.getIDsInThisDVODbForThisStage(DVOGPC1LABEL, batchType, MINRA, MAXRA, MINDEC, MAXDEC) 64 else: 65 allIDs = gpc1Db.getIDsInThisDVODbForThisStage(DVOGPC1LABEL, batchType) 62 allIDs = gpc1Db.getIDsInThisDVODbForThisStage( 63 DVOGPC1LABEL, 64 batchType, 65 MINRA, 66 MAXRA, 67 MINDEC, 68 MAXDEC) 66 69 67 70 logger.infoPair("All %s items in DVO" % batchType, "%d" % len(allIDs)) … … 176 179 177 180 # get equatorial coord limits, if any 178 MINRA = None179 MAXRA = None180 MINDEC = None181 MAXDEC = None182 181 try: 183 182 MINRA = float(configDoc.find("dvo/minRA").text) … … 186 185 MAXDEC = float(configDoc.find("dvo/maxDec").text) 187 186 except: 188 pass 187 MINRA = 0.0 188 MAXRA = 360.0 189 MINDEC = -30.0 190 MAXDEC = 90.0 189 191 190 192 # prompt user: FORCE and PUBLISH is a dangerous combination
Note:
See TracChangeset
for help on using the changeset viewer.
