def build_galaxy_app(simple_kwargs):
 log.info('Galaxy database connection: %s', simple_kwargs['database_connection'])
 simple_kwargs['global_conf'] = get_webapp_global_conf()
 simple_kwargs['global_conf']['__file__'] = 'config/galaxy.ini.sample'
 simple_kwargs = load_app_properties(kwds=simple_kwargs)
 app = GalaxyUniverseApplication(**simple_kwargs)
 log.info('Embedded Galaxy application started')
 database_contexts.galaxy_context = app.model.context
 database_contexts.install_context = app.install_model.context
 return app

def build_galaxy_app ( simple_kwargs ) : log . info ( 'Galaxy database connection: %s' , simple_kwargs [ 'database_connection' ] ) simple_kwargs [ 'global_conf' ] = get_webapp_global_conf ( ) simple_kwargs [ 'global_conf' ] [ '__file__' ] = 'config/galaxy.ini.sample' simple_kwargs = load_app_properties ( kwds = simple_kwargs ) app = GalaxyUniverseApplication ( ** simple_kwargs ) log . info ( 'Embedded Galaxy application started' ) database_contexts . galaxy_context = app . model . context database_contexts . install_context = app . install_model . context return app
build a galaxy app object from a simple keyword arguments .