Changeset 33501 for trunk/ippToPsps
- Timestamp:
- Mar 13, 2012, 10:48:48 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/config.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/config.py
r33358 r33501 8 8 9 9 ''' 10 A class encapsulating the ippToPsps config file 10 A class encapsulating a ippToPsps configuration. This information is stored in the 'config' table 11 of the ipptopsps database, but there are some higher level config details in the 'settings.xml' file 11 12 ''' 12 13 class Config(object): … … 27 28 self.settingsDoc = ElementTree(file=self.settingsPath) 28 29 self.logPath = self.settingsDoc.find("logPath").text 29 30 self.czarPlotsPath = self.settingsDoc.find("czarPlotsPath").text 30 31 31 32 # this is the border (in degrees) that we place around any loading box of 32 33 # PS1 pointings to ensure we pull a large enough area out of DVO 33 self.BORDER = 1.6 34 self.BORDER = 1.65 34 35 self.isLoaded = False 35 36 … … 46 47 self.logger.infoPair("Loading epoch", self.epoch) 47 48 self.logger.infoPair("Data release", "%d" % self.dataRelease) 48 self.logger.infoBool("Test mode?", self.test)49 self.logger.infoBool("Forcing?", self.force)50 self.logger.infoBool("Reporting NULLS?", self.reportNulls)51 49 for batchType in self.batchTypes: self.logger.infoPair("Queuing batch type", batchType) 52 50 except:
Note:
See TracChangeset
for help on using the changeset viewer.
