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()
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()
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()