Пример #1
0
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
Пример #2
0
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>.')