Changeset 37450 for trunk/ippToPsps/jython/stackbatch.py
- Timestamp:
- Oct 1, 2014, 2:50:32 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/stackbatch.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/stackbatch.py
r37433 r37450 73 73 # we just need one valid filter to get the generic metadata 74 74 validFilter = 'none' 75 75 validFilterCount = 0 76 76 # get a list of stackIDs, identify the CMFs, read the headers: 77 77 for filter in self.filters: … … 81 81 stackID = gpc1Db.getStackIDFromSkyIDAndFilter(skychunk.dvoLabel, skyID, filterName) 82 82 self.stackIDs[filter] = stackID 83 83 if (stackID > 0): 84 validFilterCount=validFilterCount + 1 84 85 if (stackID <= 0): 85 86 continue … … 115 116 self.logger.errorPair("can't find any valid stacks...?? ","??") 116 117 raise 118 # did we find any valid stacks? 119 if validFilterCount == 0: 120 self.logger.errorPair("can't find any valid stacks...?? ","??") 121 raise 122 else: 123 self.logger.infoPair("number of filters found:",validFilterCount) 117 124 118 125 validStackID = self.stackIDs[validFilter]
Note:
See TracChangeset
for help on using the changeset viewer.
