Warning

This document is for an old release of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.

galaxy.model.tool_shed_install package

class galaxy.model.tool_shed_install.ToolShedRepository(id=None, create_time=None, tool_shed=None, name=None, description=None, owner=None, installed_changeset_revision=None, changeset_revision=None, ctx_rev=None, metadata=None, includes_datatypes=False, tool_shed_status=None, deleted=False, uninstalled=False, dist_to_shed=False, status=None, error_message=None)[source]

Bases: object

dict_collection_visible_keys = ['id', 'tool_shed', 'name', 'owner', 'installed_changeset_revision', 'changeset_revision', 'ctx_rev', 'includes_datatypes', 'tool_shed_status', 'deleted', 'uninstalled', 'dist_to_shed', 'status', 'error_message']
dict_element_visible_keys = ['id', 'tool_shed', 'name', 'owner', 'installed_changeset_revision', 'changeset_revision', 'ctx_rev', 'includes_datatypes', 'tool_shed_status', 'deleted', 'uninstalled', 'dist_to_shed', 'status', 'error_message']
installation_status = <galaxy.util.bunch.Bunch object>
states = <galaxy.util.bunch.Bunch object>
__init__(id=None, create_time=None, tool_shed=None, name=None, description=None, owner=None, installed_changeset_revision=None, changeset_revision=None, ctx_rev=None, metadata=None, includes_datatypes=False, tool_shed_status=None, deleted=False, uninstalled=False, dist_to_shed=False, status=None, error_message=None)
as_dict(value_mapper=None)[source]
can_install
can_reset_metadata
can_uninstall
can_deactivate
can_reinstall_or_activate
get_sharable_url(app)[source]
get_shed_config_filename()[source]
get_shed_config_dict(app, default=None)[source]

Return the in-memory version of the shed_tool_conf file, which is stored in the config_elems entry in the shed_tool_conf_dict.

get_tool_relative_path(app)[source]
guess_shed_config(app, default=None)[source]
has_readme_files
has_repository_dependencies
has_repository_dependencies_only_if_compiling_contained_td
in_error_state
includes_data_managers
includes_tools
includes_tools_for_display_in_tool_panel
includes_tool_dependencies
includes_workflows
installed_repository_dependencies

Return the repository’s repository dependencies that are currently installed.

installed_tool_dependencies

Return the repository’s tool dependencies that are currently installed, but possibly in an error state.

is_deprecated_in_tool_shed
is_deactivated_or_installed
is_installed
is_latest_installable_revision
is_new
missing_repository_dependencies

Return the repository’s repository dependencies that are not currently installed, and may not ever have been installed.

missing_tool_dependencies

Return the repository’s tool dependencies that are not currently installed, and may not ever have been installed.

repo_files_directory(app)[source]
repo_path(app)[source]
repository_dependencies

Return all of this repository’s repository dependencies, ignoring their attributes like prior_installation_required and only_if_compiling_contained_td.

repository_dependencies_being_installed

Return the repository’s repository dependencies that are currently being installed.

repository_dependencies_missing_or_being_installed

Return the repository’s repository dependencies that are either missing or currently being installed.

repository_dependencies_with_installation_errors

Return the repository’s repository dependencies that have installation errors.

requires_prior_installation_of

Return a list of repository dependency tuples like (tool_shed, name, owner, changeset_revision, prior_installation_required) for this repository’s repository dependencies where prior_installation_required is True. By definition, repository dependencies are required to be installed in order for this repository to function correctly. However, those repository dependencies that are defined for this repository with prior_installation_required set to True place them in a special category in that the required repositories must be installed before this repository is installed. Among other things, this enables these “special” repository dependencies to include information that enables the successful installation of this repository. This method is not used during the initial installation of this repository, but only after it has been installed (metadata must be set for this repository in order for this method to be useful).

revision_update_available
set_shed_config_filename(value)[source]
shed_config_filename
to_dict(view='collection', value_mapper=None)[source]
tool_dependencies_being_installed
tool_dependencies_installed_or_in_error

Return the repository’s tool dependencies that are currently installed, but possibly in an error state.

tool_dependencies_missing_or_being_installed
tool_dependencies_with_installation_errors
tool_shed_path_name
tuples_of_repository_dependencies_needed_for_compiling_td

Return tuples defining this repository’s repository dependencies that are necessary only for compiling this repository’s tool dependencies.

uninstalled_repository_dependencies

Return the repository’s repository dependencies that have been uninstalled.

uninstalled_tool_dependencies

Return the repository’s tool dependencies that have been uninstalled.

upgrade_available
class galaxy.model.tool_shed_install.RepositoryRepositoryDependencyAssociation(tool_shed_repository_id=None, repository_dependency_id=None)[source]

Bases: object

__init__(tool_shed_repository_id=None, repository_dependency_id=None)
class galaxy.model.tool_shed_install.RepositoryDependency(tool_shed_repository_id=None)[source]

Bases: object

__init__(tool_shed_repository_id=None)
class galaxy.model.tool_shed_install.ToolDependency(tool_shed_repository_id=None, name=None, version=None, type=None, status=None, error_message=None)[source]

Bases: object

installation_status = <galaxy.util.bunch.Bunch object>
states = <galaxy.util.bunch.Bunch object>
__init__(tool_shed_repository_id=None, name=None, version=None, type=None, status=None, error_message=None)
can_install
can_uninstall
can_update
get_env_shell_file_path(app)[source]
in_error_state
installation_directory(app)[source]
is_installed
class galaxy.model.tool_shed_install.ToolVersion(id=None, create_time=None, tool_id=None, tool_shed_repository=None)[source]

Bases: object, galaxy.util.dictifiable.Dictifiable

dict_element_visible_keys = ['id', 'tool_shed_repository']
__init__(id=None, create_time=None, tool_id=None, tool_shed_repository=None)
to_dict(view='element')[source]
class galaxy.model.tool_shed_install.ToolVersionAssociation(id=None, tool_id=None, parent_id=None)[source]

Bases: object

__init__(id=None, tool_id=None, parent_id=None)
class galaxy.model.tool_shed_install.MigrateTools(repository_id=None, repository_path=None, version=None)[source]

Bases: object

__init__(repository_id=None, repository_path=None, version=None)[source]

Submodules

galaxy.model.tool_shed_install.mapping module

galaxy.model.tool_shed_install.mapping.init(url, engine_options={}, create_tables=False)[source]

Connect mappings to the database

galaxy.model.tool_shed_install.mapping.now()

Return a new datetime representing UTC day and time.