Exemple #1
0
def setConfig():
    '''
    set all current parameters
    
    '''

    conf.opts = getNamespace('globalSettings')

    conf.initconf()

    Utils.fileMgmt.init()

    pp.opts['algo'] = getNamespace('preprocess.algo', True)
    oN.loadFromConf()
    sL.loadFromConf()
Exemple #2
0
def setConfig():
    '''
    set all current parameters
    
    '''
    
    conf.opts = getNamespace('globalSettings')
    
    conf.initconf()

    Utils.fileMgmt.init()
        
    pp.opts['algo'] = getNamespace('preprocess.algo',True)
    oN.loadFromConf()
    sL.loadFromConf()
Exemple #3
0
def main():
    import sys
    import cStringIO
    import argparse
    import Utils
    import Utils.Configurable as confM

    
    conf.initconf()
    
    Utils.fileMgmt.init()
    
    confM.crawlParams()
    
    print confM.params.descriptorNames()
    confM.saveconf(conf.ODBStats+"/config.conf") 
    computeAll()