Ejemplo n.º 1
0
         tool_data_path=install_and_test_base_util.
         additional_tool_data_path,
         shed_tool_data_table_config=None,
         persist=False)
 now = time.strftime("%Y-%m-%d %H:%M:%S")
 print "####################################################################################"
 print "# %s - installation script for repositories of type tool_dependency_definition started." % now
 if not can_update_tool_shed:
     print "# This run will not update the Tool Shed database."
 print "####################################################################################"
 install_and_test_statistics_dict, error_message = install_and_test_repositories(
     app, galaxy_shed_tools_dict_file, galaxy_shed_tool_conf_file,
     galaxy_shed_tool_path)
 try:
     install_and_test_base_util.print_install_and_test_results(
         'tool dependency definitions', install_and_test_statistics_dict,
         error_message)
 except Exception, e:
     log.exception( 'Attempting to print the following dictionary...\n\n%s\n\n...threw the following exception...\n\n%s\n\n' % \
         ( str( install_and_test_statistics_dict ), str( e ) ) )
 log.debug("Shutting down...")
 # Gracefully shut down the embedded web server and UniverseApplication.
 if server:
     log.debug("Shutting down embedded galaxy web server...")
     server.server_close()
     server = None
     log.debug("Embedded galaxy server stopped...")
 if app:
     log.debug("Shutting down galaxy application...")
     app.shutdown()
     app = None
Ejemplo n.º 2
0
                                                            tool_data_path=install_and_test_base_util.additional_tool_data_path,
                                                            shed_tool_data_table_config=None,
                                                            persist=False )
 now = time.strftime( "%Y-%m-%d %H:%M:%S" )
 print "####################################################################################"
 print "# %s - installation script for repositories of type tool_dependency_definition started." % now
 if not can_update_tool_shed:
     print "# This run will not update the Tool Shed database."
 print "####################################################################################"
 install_and_test_statistics_dict, error_message = install_and_test_repositories( app,
                                                                                  galaxy_shed_tools_dict_file,
                                                                                  galaxy_shed_tool_conf_file,
                                                                                  galaxy_shed_tool_path )
 try:
     install_and_test_base_util.print_install_and_test_results( 'tool dependency definitions',
                                                                install_and_test_statistics_dict,
                                                                error_message )
 except Exception, e:
     log.exception( 'Attempting to print the following dictionary...\n\n%s\n\n...threw the following exception...\n\n%s\n\n' % \
         ( str( install_and_test_statistics_dict ), str( e ) ) )
 log.debug( "Shutting down..." )
 # Gracefully shut down the embedded web server and UniverseApplication.
 if server:
     log.debug( "Shutting down embedded galaxy web server..." )
     server.server_close()
     server = None
     log.debug( "Embedded galaxy server stopped..." )
 if app:
     log.debug( "Shutting down galaxy application..." )
     app.shutdown()
     app = None