def loadViewerConfig ( viewerConfig, confFile ): global symbolicFile symbolicFile = confFile try: if 'precision' in viewerConfig: DbU.setPrecision(viewerConfig['precision']) except Exception as e: ErrorMessage.wrapPrint(e,'In %s:<viewerConfig>.') return
def loadViewerConfig(viewerConfig, confFile): global symbolicFile symbolicFile = confFile try: if viewerConfig.has_key('precision'): DbU.setPrecision(viewerConfig['precision']) except Exception, e: ErrorMessage.wrapPrint(e, 'In %s:<viewerConfig>.')