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.webapps.galaxy.controllers package¶
Galaxy web controllers.
Submodules¶
galaxy.webapps.galaxy.controllers.admin module¶
- class galaxy.webapps.galaxy.controllers.admin.UserListGrid[source]¶
Bases:
Grid
- class EmailColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
TextColumn
- class UserNameColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
TextColumn
- class StatusColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- class GroupsColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- class RolesColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- class ExternalColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- class LastLoginColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- class TimeCreatedColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- class ActivatedColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- class DiskUsageColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- title = 'Users'¶
- title_id = 'users-grid'¶
- columns: List[GridColumn] = [<galaxy.webapps.galaxy.controllers.admin.UserListGrid.EmailColumn object>, <galaxy.webapps.galaxy.controllers.admin.UserListGrid.UserNameColumn object>, <galaxy.webapps.galaxy.controllers.admin.UserListGrid.LastLoginColumn object>, <galaxy.webapps.galaxy.controllers.admin.UserListGrid.DiskUsageColumn object>, <galaxy.webapps.galaxy.controllers.admin.UserListGrid.StatusColumn object>, <galaxy.webapps.galaxy.controllers.admin.UserListGrid.TimeCreatedColumn object>, <galaxy.webapps.galaxy.controllers.admin.UserListGrid.ActivatedColumn object>, <galaxy.webapps.galaxy.controllers.admin.UserListGrid.GroupsColumn object>, <galaxy.webapps.galaxy.controllers.admin.UserListGrid.RolesColumn object>, <galaxy.webapps.galaxy.controllers.admin.UserListGrid.ExternalColumn object>, <galaxy.web.framework.helpers.grids.DeletedColumn object>, <galaxy.web.framework.helpers.grids.PurgedColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- global_actions: List[GridAction] = [<galaxy.web.framework.helpers.grids.GridAction object>]¶
- operations: List[GridOperation] = [<galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
- standard_filters: List[GridColumnFilter] = [<galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>]¶
- num_rows_per_page = 50¶
- use_paging = True¶
- use_default_filter = True¶
- class galaxy.webapps.galaxy.controllers.admin.RoleListGrid[source]¶
Bases:
Grid
- class NameColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
TextColumn
- class DescriptionColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
TextColumn
- class TypeColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
TextColumn
- class StatusColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- class GroupsColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- class UsersColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- title = 'Roles'¶
- title_id = 'roles-grid'¶
- columns: List[GridColumn] = [<galaxy.webapps.galaxy.controllers.admin.RoleListGrid.NameColumn object>, <galaxy.webapps.galaxy.controllers.admin.RoleListGrid.DescriptionColumn object>, <galaxy.webapps.galaxy.controllers.admin.RoleListGrid.TypeColumn object>, <galaxy.webapps.galaxy.controllers.admin.RoleListGrid.GroupsColumn object>, <galaxy.webapps.galaxy.controllers.admin.RoleListGrid.UsersColumn object>, <galaxy.webapps.galaxy.controllers.admin.RoleListGrid.StatusColumn object>, <galaxy.web.framework.helpers.grids.DeletedColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- global_actions: List[GridAction] = [<galaxy.web.framework.helpers.grids.GridAction object>]¶
- operations: List[GridOperation] = [<galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
- standard_filters: List[GridColumnFilter] = [<galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>]¶
- num_rows_per_page = 50¶
- use_paging = True¶
- class galaxy.webapps.galaxy.controllers.admin.GroupListGrid[source]¶
Bases:
Grid
- class NameColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
TextColumn
- class StatusColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- class RolesColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- class UsersColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- title = 'Groups'¶
- title_id = 'groups-grid'¶
- columns: List[GridColumn] = [<galaxy.webapps.galaxy.controllers.admin.GroupListGrid.NameColumn object>, <galaxy.webapps.galaxy.controllers.admin.GroupListGrid.UsersColumn object>, <galaxy.webapps.galaxy.controllers.admin.GroupListGrid.RolesColumn object>, <galaxy.webapps.galaxy.controllers.admin.GroupListGrid.StatusColumn object>, <galaxy.web.framework.helpers.grids.DeletedColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- global_actions: List[GridAction] = [<galaxy.web.framework.helpers.grids.GridAction object>]¶
- operations: List[GridOperation] = [<galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
- standard_filters: List[GridColumnFilter] = [<galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>]¶
- num_rows_per_page = 50¶
- use_paging = True¶
- class galaxy.webapps.galaxy.controllers.admin.QuotaListGrid[source]¶
Bases:
Grid
- class NameColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
TextColumn
- class DescriptionColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
TextColumn
- class AmountColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
TextColumn
- class StatusColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- class UsersColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- class GroupsColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- class QuotaSourceLabelColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
TextColumn
- title = 'Quotas'¶
- columns: List[GridColumn] = [<galaxy.webapps.galaxy.controllers.admin.QuotaListGrid.NameColumn object>, <galaxy.webapps.galaxy.controllers.admin.QuotaListGrid.DescriptionColumn object>, <galaxy.webapps.galaxy.controllers.admin.QuotaListGrid.AmountColumn object>, <galaxy.webapps.galaxy.controllers.admin.QuotaListGrid.UsersColumn object>, <galaxy.webapps.galaxy.controllers.admin.QuotaListGrid.GroupsColumn object>, <galaxy.webapps.galaxy.controllers.admin.QuotaListGrid.QuotaSourceLabelColumn object>, <galaxy.webapps.galaxy.controllers.admin.QuotaListGrid.StatusColumn object>, <galaxy.web.framework.helpers.grids.DeletedColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- global_actions: List[GridAction] = [<galaxy.web.framework.helpers.grids.GridAction object>]¶
- operations: List[GridOperation] = [<galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
- standard_filters: List[GridColumnFilter] = [<galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>]¶
- num_rows_per_page = 50¶
- use_paging = True¶
- class galaxy.webapps.galaxy.controllers.admin.ToolVersionListGrid[source]¶
Bases:
Grid
- class ToolIdColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
TextColumn
- class ToolVersionsColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
TextColumn
- title = 'Tool versions'¶
- model_class¶
alias of
ToolVersion
- columns: List[GridColumn] = [<galaxy.webapps.galaxy.controllers.admin.ToolVersionListGrid.ToolIdColumn object>, <galaxy.webapps.galaxy.controllers.admin.ToolVersionListGrid.ToolVersionsColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- num_rows_per_page = 50¶
- use_paging = True¶
- class galaxy.webapps.galaxy.controllers.admin.AdminGalaxy(app: StructuredApp)[source]¶
Bases:
JSAppLauncher
- user_list_grid = <galaxy.webapps.galaxy.controllers.admin.UserListGrid object>¶
- role_list_grid = <galaxy.webapps.galaxy.controllers.admin.RoleListGrid object>¶
- group_list_grid = <galaxy.webapps.galaxy.controllers.admin.GroupListGrid object>¶
- quota_list_grid = <galaxy.webapps.galaxy.controllers.admin.QuotaListGrid object>¶
- tool_version_list_grid = <galaxy.webapps.galaxy.controllers.admin.ToolVersionListGrid object>¶
- delete_operation = <galaxy.web.framework.helpers.grids.GridOperation object>¶
- undelete_operation = <galaxy.web.framework.helpers.grids.GridOperation object>¶
- purge_operation = <galaxy.web.framework.helpers.grids.GridOperation object>¶
- impersonate_operation = <galaxy.web.framework.helpers.grids.GridOperation object>¶
- activate_operation = <galaxy.web.framework.helpers.grids.GridOperation object>¶
- resend_activation_email = <galaxy.web.framework.helpers.grids.GridOperation object>¶
- __init__(app: StructuredApp)[source]¶
Initialize an interface for application ‘app’
- data_types_list(trans, **kwd) DatatypesEntryT [source]¶
- galaxy.webapps.galaxy.controllers.admin.get_user(trans, user_id)[source]¶
Get a User from the database by id.
- galaxy.webapps.galaxy.controllers.admin.get_role(trans, id)[source]¶
Get a Role from the database by id.
galaxy.webapps.galaxy.controllers.admin_toolshed module¶
- class galaxy.webapps.galaxy.controllers.admin_toolshed.AdminToolshed(app: StructuredApp)[source]¶
Bases:
AdminGalaxy
- activate_repository(trans, **kwd)[source]¶
Activate a repository that was deactivated but not uninstalled.
- display_image_in_repository(trans, **kwd)[source]¶
Open an image file that is contained in an installed tool shed repository or that is referenced by a URL for display. The image can be defined in either a README.rst file contained in the repository or the help section of a Galaxy tool config that is contained in the repository. The following image definitions are all supported. The former $PATH_TO_IMAGES is no longer required, and is now ignored. .. image:: https://raw.github.com/galaxy/some_image.png .. image:: $PATH_TO_IMAGES/some_image.png .. image:: /static/images/some_image.gif .. image:: some_image.jpg .. image:: /deep/some_image.png
- quota_manager: QuotaManager¶
galaxy.webapps.galaxy.controllers.async module¶
Upload class
galaxy.webapps.galaxy.controllers.authnz module¶
OAuth 2.0 and OpenID Connect Authentication and Authorization Controller.
- class galaxy.webapps.galaxy.controllers.authnz.OIDC(app)[source]¶
Bases:
JSAppLauncher
- index(trans, **kwargs)[source]¶
- GET /authnz/
returns a list of third-party identities associated with the user.
- Parameters:
trans (galaxy.webapps.base.webapp.GalaxyWebTransaction) – Galaxy web transaction.
kwargs – empty dict
- Return type:
list of dicts
- Returns:
a list of third-party identities associated with the user account.
galaxy.webapps.galaxy.controllers.data_manager module¶
galaxy.webapps.galaxy.controllers.dataset module¶
- class galaxy.webapps.galaxy.controllers.dataset.DatasetInterface(app: StructuredApp)[source]¶
Bases:
BaseUIController
,UsesAnnotations
,UsesItemRatings
,UsesExtendedMetadataMixin
- history_manager: HistoryManager = GalaxyTypeDepends(_do_resolve)¶
- hda_manager: HDAManager = GalaxyTypeDepends(_do_resolve)¶
- hda_deserializer: HDADeserializer = GalaxyTypeDepends(_do_resolve)¶
- service: DatasetsService = GalaxyTypeDepends(_do_resolve)¶
- __init__(app: StructuredApp)[source]¶
Initialize an interface for application ‘app’
- get_metadata_file(trans, hda_id, metadata_name, **kwd)[source]¶
Allows the downloading of metadata files associated with datasets (eg. bai index for bam files)
- display(trans, dataset_id=None, preview=False, filename=None, to_ext=None, offset=None, ck_size=None, **kwd)[source]¶
- get_edit(trans, dataset_id=None, **kwd)[source]¶
Produces the input definitions available to modify dataset attributes
- imp(trans, dataset_id=None, **kwd)[source]¶
Import another user’s dataset via a shared URL; dataset is added to user’s current history.
- display_by_username_and_slug(trans, username, slug, filename=None, preview=True, **kwargs)[source]¶
Display dataset by username and slug; because datasets do not yet have slugs, the slug is the dataset’s id.
- display_at(trans, dataset_id, filename=None, **kwd)[source]¶
Sets up a dataset permissions so it is viewable at an external site
galaxy.webapps.galaxy.controllers.error module¶
galaxy.webapps.galaxy.controllers.forms module¶
- class galaxy.webapps.galaxy.controllers.forms.FormsGrid[source]¶
Bases:
Grid
- class NameColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
TextColumn
- class DescriptionColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
TextColumn
- class TypeColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
TextColumn
- class StatusColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- title = 'Forms'¶
- model_class¶
alias of
FormDefinitionCurrent
- num_rows_per_page = 50¶
- use_paging = True¶
- columns: List[GridColumn] = [<galaxy.webapps.galaxy.controllers.forms.FormsGrid.NameColumn object>, <galaxy.webapps.galaxy.controllers.forms.FormsGrid.DescriptionColumn object>, <galaxy.webapps.galaxy.controllers.forms.FormsGrid.TypeColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.webapps.galaxy.controllers.forms.FormsGrid.StatusColumn object>, <galaxy.web.framework.helpers.grids.DeletedColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- operations: List[GridOperation] = [<galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
- global_actions: List[GridAction] = [<galaxy.web.framework.helpers.grids.GridAction object>]¶
- class galaxy.webapps.galaxy.controllers.forms.Forms(app)[source]¶
Bases:
BaseUIController
- forms_grid = <galaxy.webapps.galaxy.controllers.forms.FormsGrid object>¶
galaxy.webapps.galaxy.controllers.history module¶
- class galaxy.webapps.galaxy.controllers.history.NameColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
TextColumn
- class galaxy.webapps.galaxy.controllers.history.HistoryListGrid[source]¶
Bases:
Grid
- class ItemCountColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- class HistoryListNameColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
NameColumn
- class StatusColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- title = 'Saved Histories'¶
- columns: List[GridColumn] = [<galaxy.webapps.galaxy.controllers.history.HistoryListGrid.HistoryListNameColumn object>, <galaxy.webapps.galaxy.controllers.history.HistoryListGrid.ItemCountColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.IndividualTagsColumn object>, <galaxy.web.framework.helpers.grids.SharingStatusColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.webapps.galaxy.controllers.history.HistoryListGrid.StatusColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- global_actions: List[GridAction] = [<galaxy.web.framework.helpers.grids.GridAction object>]¶
- operations: List[GridOperation] = [<galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
- standard_filters: List[GridColumnFilter] = [<galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>, <galaxy.web.framework.helpers.grids.GridColumnFilter object>]¶
- default_filter: Dict[str, str] = {'name': 'All', 'sharing': 'All', 'status': 'active', 'tags': 'All'}¶
- num_rows_per_page = 15¶
- use_paging = True¶
Bases:
Grid
Bases:
GridColumn
Bases:
GridColumn
alias of
History
- class galaxy.webapps.galaxy.controllers.history.HistoryController(app: StructuredApp)[source]¶
Bases:
BaseUIController
,SharableMixin
,UsesAnnotations
,UsesItemRatings
- history_manager: HistoryManager = GalaxyTypeDepends(_do_resolve)¶
- history_serializer: HistorySerializer = GalaxyTypeDepends(_do_resolve)¶
- slug_builder: SlugBuilder = GalaxyTypeDepends(_do_resolve)¶
- __init__(app: StructuredApp)[source]¶
Initialize an interface for application ‘app’
- stored_list_grid = <galaxy.webapps.galaxy.controllers.history.HistoryListGrid object>¶
List histories shared with current user by others
- as_xml(trans, id=None, show_deleted=None, show_hidden=None)[source]¶
Return a history in xml format.
- view(trans, id=None, show_deleted=False, show_hidden=False, use_panels=True)[source]¶
View a history. If a history is importable, then it is viewable by any user.
- display_by_username_and_slug(trans, username, slug, **kwargs)[source]¶
Display history based on a username and slug.
- make_private(trans, history_id=None, all_histories=False, **kwd)[source]¶
Sets the datasets within a history to private. Also sets the default permissions for the history to private, for future datasets.
THIS METHOD IS A TEMPORARY ADDITION. It’ll allow us to fix the regression in history-wide actions, and will be removed in the first release after 17.01
- resume_paused_jobs(trans, current=False, ids=None, **kwargs)[source]¶
Resume paused jobs the active history – this does not require a logged in user.
- switch_to_history(trans, hist_id=None, **kwargs)[source]¶
Change the current user’s current history to one with hist_id.
- set_as_current(trans, id, **kwargs)[source]¶
Change the current user’s current history to one with id.
galaxy.webapps.galaxy.controllers.library module¶
galaxy.webapps.galaxy.controllers.page module¶
- class galaxy.webapps.galaxy.controllers.page.PageListGrid[source]¶
Bases:
Grid
- class URLColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
PublicURLColumn
- use_panels = True¶
- title = 'Pages'¶
- default_filter: Dict[str, str] = {'published': 'All', 'sharing': 'All', 'tags': 'All', 'title': 'All'}¶
- columns: List[GridColumn] = [<galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.webapps.galaxy.controllers.page.PageListGrid.URLColumn object>, <galaxy.web.framework.helpers.grids.OwnerAnnotationColumn object>, <galaxy.web.framework.helpers.grids.IndividualTagsColumn object>, <galaxy.web.framework.helpers.grids.SharingStatusColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- global_actions: List[GridAction] = [<galaxy.web.framework.helpers.grids.GridAction object>]¶
- operations: List[GridOperation] = [<galaxy.web.framework.helpers.grids.DisplayByUsernameAndSlugGridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
- class galaxy.webapps.galaxy.controllers.page.PageAllPublishedGrid[source]¶
Bases:
Grid
- use_panels = True¶
- title = 'Published Pages'¶
- columns: List[GridColumn] = [<galaxy.web.framework.helpers.grids.PublicURLColumn object>, <galaxy.web.framework.helpers.grids.OwnerAnnotationColumn object>, <galaxy.web.framework.helpers.grids.OwnerColumn object>, <galaxy.web.framework.helpers.grids.CommunityRatingColumn object>, <galaxy.web.framework.helpers.grids.CommunityTagsColumn object>, <galaxy.web.framework.helpers.grids.ReverseSortColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- class galaxy.webapps.galaxy.controllers.page.ItemSelectionGrid[source]¶
Bases:
Grid
Base class for pages’ item selection grids.
- class NameColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
TextColumn
- show_item_checkboxes = True¶
- use_paging = True¶
- num_rows_per_page = 10¶
- class galaxy.webapps.galaxy.controllers.page.HistorySelectionGrid[source]¶
Bases:
ItemSelectionGrid
Grid for selecting histories.
- title = 'Saved Histories'¶
- columns: List[GridColumn] = [<galaxy.webapps.galaxy.controllers.page.ItemSelectionGrid.NameColumn object>, <galaxy.web.framework.helpers.grids.IndividualTagsColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.DeletedColumn object>, <galaxy.web.framework.helpers.grids.SharingStatusColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- class galaxy.webapps.galaxy.controllers.page.HistoryDatasetAssociationSelectionGrid[source]¶
Bases:
ItemSelectionGrid
Grid for selecting HDAs.
- title = 'Saved Datasets'¶
- model_class¶
alias of
HistoryDatasetAssociation
- columns: List[GridColumn] = [<galaxy.webapps.galaxy.controllers.page.ItemSelectionGrid.NameColumn object>, <galaxy.web.framework.helpers.grids.IndividualTagsColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.DeletedColumn object>, <galaxy.web.framework.helpers.grids.SharingStatusColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- class galaxy.webapps.galaxy.controllers.page.WorkflowSelectionGrid[source]¶
Bases:
ItemSelectionGrid
Grid for selecting workflows.
- title = 'Saved Workflows'¶
- model_class¶
alias of
StoredWorkflow
- columns: List[GridColumn] = [<galaxy.webapps.galaxy.controllers.page.ItemSelectionGrid.NameColumn object>, <galaxy.web.framework.helpers.grids.IndividualTagsColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.DeletedColumn object>, <galaxy.web.framework.helpers.grids.SharingStatusColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- class galaxy.webapps.galaxy.controllers.page.PageSelectionGrid[source]¶
Bases:
ItemSelectionGrid
Grid for selecting pages.
- title = 'Saved Pages'¶
- columns: List[GridColumn] = [<galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.IndividualTagsColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.DeletedColumn object>, <galaxy.web.framework.helpers.grids.SharingStatusColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- class galaxy.webapps.galaxy.controllers.page.VisualizationSelectionGrid[source]¶
Bases:
ItemSelectionGrid
Grid for selecting visualizations.
- title = 'Saved Visualizations'¶
- model_class¶
alias of
Visualization
- columns: List[GridColumn] = [<galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.IndividualTagsColumn object>, <galaxy.web.framework.helpers.grids.SharingStatusColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- class galaxy.webapps.galaxy.controllers.page.PageController(app: StructuredApp)[source]¶
Bases:
BaseUIController
,SharableMixin
,UsesStoredWorkflowMixin
,UsesVisualizationMixin
,UsesItemRatings
- page_manager: PageManager = GalaxyTypeDepends(_do_resolve)¶
- history_manager: HistoryManager = GalaxyTypeDepends(_do_resolve)¶
- history_serializer: HistorySerializer = GalaxyTypeDepends(_do_resolve)¶
- hda_manager: HDAManager = GalaxyTypeDepends(_do_resolve)¶
- workflow_manager: WorkflowsManager = GalaxyTypeDepends(_do_resolve)¶
- slug_builder: SlugBuilder = GalaxyTypeDepends(_do_resolve)¶
- __init__(app: StructuredApp)[source]¶
Initialize an interface for application ‘app’
- display_by_username_and_slug(trans, username, slug, **kwargs)[source]¶
Display page based on a username and slug.
- list_histories_for_selection(trans, **kwargs)[source]¶
Returns HTML that enables a user to select one or more histories.
- list_workflows_for_selection(trans, **kwargs)[source]¶
Returns HTML that enables a user to select one or more workflows.
- list_visualizations_for_selection(trans, **kwargs)[source]¶
Returns HTML that enables a user to select one or more visualizations.
- list_pages_for_selection(trans, **kwargs)[source]¶
Returns HTML that enables a user to select one or more pages.
- list_datasets_for_selection(trans, **kwargs)[source]¶
Returns HTML that enables a user to select one or more datasets.
galaxy.webapps.galaxy.controllers.root module¶
Contains the main interface in the Universe class
- class galaxy.webapps.galaxy.controllers.root.RootController(app: StructuredApp)[source]¶
Bases:
JSAppLauncher
,UsesAnnotations
Controller class that maps to the url root of Galaxy (i.e. ‘/’).
- history_manager: HistoryManager = GalaxyTypeDepends(_do_resolve)¶
- __init__(app: StructuredApp)[source]¶
Initialize an interface for application ‘app’
- default(trans, target1=None, target2=None, **kwd)[source]¶
Called on any url that does not match a controller method.
- index(trans: GalaxyWebTransaction, tool_id=None, workflow_id=None, history_id=None, m_c=None, m_a=None, **kwd)[source]¶
Root and entry point for client-side web app.
- Parameters:
tool_id (str or None) – load center panel with given tool if not None
workflow_id (encoded id or None) – load center panel with given workflow if not None
history_id (encoded id or None) – switch current history to given history if not None
m_c (str or None) – controller name (e.g. ‘user’)
m_a (str or None) – controller method/action (e.g. ‘dbkeys’)
If m_c and m_a are present, the center panel will be loaded using the controller and action as a url: (e.g. ‘user/dbkeys’).
- login(trans: GalaxyWebTransaction, redirect=None, is_logout_redirect=False, **kwd)[source]¶
User login path for client-side.
- display_as(trans: GalaxyWebTransaction, id=None, display_app=None, **kwd)[source]¶
Returns a file in a format that can successfully be displayed in display_app; if the file could not be returned, returns a message as a string.
- welcome(trans: GalaxyWebTransaction, **kwargs)[source]¶
galaxy.webapps.galaxy.controllers.shed_tool_static module¶
- class galaxy.webapps.galaxy.controllers.shed_tool_static.ShedToolStatic(app)[source]¶
Bases:
BaseUIController
- index(trans, shed, owner, repo, tool, version, image_file, **kwargs)[source]¶
Open an image file that is contained in an installed tool shed repository or that is referenced by a URL for display. The image can be defined in either a README.rst file contained in the repository or the help section of a Galaxy tool config that is contained in the repository. The following image definitions are all supported. The former $PATH_TO_IMAGES is no longer required, and is now ignored. .. image:: https://raw.github.com/galaxy/some_image.png .. image:: $PATH_TO_IMAGES/some_image.png .. image:: /static/images/some_image.gif .. image:: some_image.jpg .. image:: /deep/some_image.png
galaxy.webapps.galaxy.controllers.tag module¶
Tags Controller: handles tagging/untagging of entities and provides autocomplete support.
- class galaxy.webapps.galaxy.controllers.tag.TagsController(app)[source]¶
Bases:
BaseUIController
,UsesTagsMixin
- add_tag_async(trans, item_id=None, item_class=None, new_tag=None, context=None, **kwargs)[source]¶
Add tag to an item.
galaxy.webapps.galaxy.controllers.tool_runner module¶
Controller handles external tool related requests
- class galaxy.webapps.galaxy.controllers.tool_runner.ToolRunner(app)[source]¶
Bases:
BaseUIController
- rerun(trans, id=None, job_id=None, **kwd)[source]¶
Given a HistoryDatasetAssociation id, find the job and that created the dataset, extract the parameters, and display the appropriate tool form with parameters already filled in.
- data_source_redirect(trans, tool_id=None)[source]¶
Redirects a user accessing a Data Source tool to its target action link. This method will subvert mix-mode content blocking in several browsers when accessing non-https data_source tools from an https galaxy server.
Tested as working on Safari 7.0 and FireFox 26 Subverting did not work on Chrome 31
galaxy.webapps.galaxy.controllers.user module¶
Contains the user interface in the Universe class
- class galaxy.webapps.galaxy.controllers.user.User(app: StructuredApp)[source]¶
Bases:
BaseUIController
,UsesFormDefinitionsMixin
- user_manager: UserManager = GalaxyTypeDepends(_do_resolve)¶
- installed_len_files = None¶
- __init__(app: StructuredApp)[source]¶
Initialize an interface for application ‘app’
- resend_verification(trans, **kwargs)[source]¶
Exposed function for use outside of the class. E.g. when user click on the resend link in the masthead.
- resend_activation_email(trans, email, username)[source]¶
Function resends the verification email in case user wants to log in with an inactive account or he clicks the resend link.
- is_outside_grace_period(trans, create_time)[source]¶
Function checks whether the user is outside the config-defined grace period for inactive accounts.
- activate(trans, **kwd)[source]¶
Check whether token fits the user and then activate the user’s account.
- change_password(trans, payload=None, **kwd)[source]¶
Allows to change own password.
- Parameters:
payload (dict) – dictionary structure containing: * id: encoded user id * current: current user password * token: temporary token to change password (instead of id and current) * password: new password * confirm: new password (confirmation)
galaxy.webapps.galaxy.controllers.visualization module¶
- class galaxy.webapps.galaxy.controllers.visualization.HistoryDatasetsSelectionGrid[source]¶
Bases:
Grid
- class DbKeyColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- class HistoryColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- available_tracks = None¶
- title = 'Add Datasets'¶
- model_class¶
alias of
HistoryDatasetAssociation
- columns: List[GridColumn] = [<galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.webapps.galaxy.controllers.visualization.HistoryDatasetsSelectionGrid.HistoryColumn object>, <galaxy.webapps.galaxy.controllers.visualization.HistoryDatasetsSelectionGrid.DbKeyColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- class galaxy.webapps.galaxy.controllers.visualization.LibraryDatasetsSelectionGrid[source]¶
Bases:
Grid
- available_tracks = None¶
- title = 'Add Datasets'¶
- model_class¶
alias of
LibraryDatasetDatasetAssociation
- columns: List[GridColumn] = [<galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- class galaxy.webapps.galaxy.controllers.visualization.TracksterSelectionGrid[source]¶
Bases:
Grid
- title = 'Insert into visualization'¶
- model_class¶
alias of
Visualization
- use_paging = False¶
- show_item_checkboxes = True¶
- columns: List[GridColumn] = [<galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>]¶
- class galaxy.webapps.galaxy.controllers.visualization.VisualizationListGrid[source]¶
Bases:
Grid
- title = 'Saved Visualizations'¶
- model_class¶
alias of
Visualization
- default_filter: Dict[str, str] = {'deleted': 'False', 'sharing': 'All', 'tags': 'All', 'title': 'All'}¶
- columns: List[GridColumn] = [<galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.IndividualTagsColumn object>, <galaxy.web.framework.helpers.grids.SharingStatusColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- operations: List[GridOperation] = [<galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
- class galaxy.webapps.galaxy.controllers.visualization.VisualizationAllPublishedGrid[source]¶
Bases:
Grid
- use_panels = True¶
- title = 'Published Visualizations'¶
- model_class¶
alias of
Visualization
- columns: List[GridColumn] = [<galaxy.web.framework.helpers.grids.PublicURLColumn object>, <galaxy.web.framework.helpers.grids.OwnerAnnotationColumn object>, <galaxy.web.framework.helpers.grids.OwnerColumn object>, <galaxy.web.framework.helpers.grids.CommunityRatingColumn object>, <galaxy.web.framework.helpers.grids.CommunityTagsColumn object>, <galaxy.web.framework.helpers.grids.ReverseSortColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- class galaxy.webapps.galaxy.controllers.visualization.VisualizationController(app: StructuredApp)[source]¶
Bases:
BaseUIController
,SharableMixin
,UsesVisualizationMixin
,UsesAnnotations
,UsesItemRatings
- hda_manager: HDAManager = GalaxyTypeDepends(_do_resolve)¶
- slug_builder: SlugBuilder = GalaxyTypeDepends(_do_resolve)¶
- __init__(app: StructuredApp)[source]¶
Initialize an interface for application ‘app’
- list_libraries(trans, **kwargs)[source]¶
List all libraries that can be used for selecting datasets.
- list_history_datasets(trans, **kwargs)[source]¶
List a history’s datasets that can be added to a visualization.
- list_library_datasets(trans, **kwargs)[source]¶
List a library’s datasets that can be added to a visualization.
- display_by_username_and_slug(trans, username, slug, **kwargs)[source]¶
Display visualization based on a username and slug.
- save(trans, vis_json=None, type=None, id=None, title=None, dbkey=None, annotation=None, **kwargs)[source]¶
Save a visualization; if visualization does not have an ID, a new visualization is created. Returns JSON of visualization.
- render(trans, visualization_name, embedded=None, **kwargs)[source]¶
Render the appropriate visualization template, parsing the kwargs into appropriate variables and resources (such as ORM models) based on this visualizations param data in visualizations_conf.xml.
URL: /visualization/show/{visualization_name}
- saved(trans, id=None, revision=None, type=None, config=None, title=None, **kwargs)[source]¶
Save (on POST) or load (on GET) a visualization then render.
- trackster(trans, **kwargs)[source]¶
Display browser for the visualization denoted by id and add the datasets listed in dataset_ids.
- circster(trans, id=None, hda_ldda=None, dataset_id=None, dbkey=None, **kwargs)[source]¶
Display a circster visualization.
galaxy.webapps.galaxy.controllers.workflow module¶
- class galaxy.webapps.galaxy.controllers.workflow.StoredWorkflowListGrid[source]¶
Bases:
Grid
- class StepsColumn(label, key=None, model_class=None, method=None, format=None, link=None, attach_popup=False, visible=True, nowrap=False, filterable=None, sortable=True, label_id_prefix=None, target=None, delayed=False)[source]¶
Bases:
GridColumn
- use_panels = True¶
- title = 'Saved Workflows'¶
- model_class¶
alias of
StoredWorkflow
- columns: List[GridColumn] = [<galaxy.web.framework.helpers.grids.TextColumn object>, <galaxy.web.framework.helpers.grids.IndividualTagsColumn object>, <galaxy.webapps.galaxy.controllers.workflow.StoredWorkflowListGrid.StepsColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.GridColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- operations: List[GridOperation] = [<galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
- class galaxy.webapps.galaxy.controllers.workflow.StoredWorkflowAllPublishedGrid[source]¶
Bases:
Grid
- title = 'Published Workflows'¶
- model_class¶
alias of
StoredWorkflow
- columns: List[GridColumn] = [<galaxy.web.framework.helpers.grids.PublicURLColumn object>, <galaxy.web.framework.helpers.grids.OwnerAnnotationColumn object>, <galaxy.web.framework.helpers.grids.OwnerColumn object>, <galaxy.web.framework.helpers.grids.CommunityRatingColumn object>, <galaxy.web.framework.helpers.grids.CommunityTagsColumn object>, <galaxy.web.framework.helpers.grids.ReverseSortColumn object>, <galaxy.web.framework.helpers.grids.MulticolFilterColumn object>]¶
- operations: List[GridOperation] = [<galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>, <galaxy.web.framework.helpers.grids.GridOperation object>]¶
- num_rows_per_page = 50¶
- use_paging = True¶
- class galaxy.webapps.galaxy.controllers.workflow.SingleTagContentsParser(target_tag)[source]¶
Bases:
HTMLParser
- class galaxy.webapps.galaxy.controllers.workflow.WorkflowController(app)[source]¶
Bases:
BaseUIController
,SharableMixin
,UsesStoredWorkflowMixin
,UsesItemRatings
- stored_list_grid = <galaxy.webapps.galaxy.controllers.workflow.StoredWorkflowListGrid object>¶
- published_list_grid = <galaxy.webapps.galaxy.controllers.workflow.StoredWorkflowAllPublishedGrid object>¶
- slug_builder = <galaxy.managers.sharable.SlugBuilder object>¶
- display_by_username_and_slug(trans, username, slug, format='html', **kwargs)[source]¶
Display workflow based on a username and slug. Format can be html, json, or json-download.
- save_workflow_as(trans, workflow_name, workflow_data, workflow_annotation='', from_tool_form=False, **kwargs)[source]¶
Creates a new workflow based on Save As command. It is a new workflow, but is created with workflow_data already present.
- editor(trans, id=None, workflow_id=None, version=None, **kwargs)[source]¶
Render the main workflow editor interface. The canvas is embedded as an iframe (necessary for scrolling to work properly), which is rendered by editor_canvas.
- load_workflow(trans, id, version=None, **kwargs)[source]¶
Get the latest Workflow for the StoredWorkflow identified by id and encode it as a json string that can be read by the workflow editor web interface.
- for_direct_import(trans, id, **kwargs)[source]¶
Get the latest Workflow for the StoredWorkflow identified by id and encode it as a json string that can be imported back into Galaxy
This has slightly different information than the above. In particular, it does not attempt to decode forms and build UIs, it just stores the raw state.
- export_to_file(trans, id)[source]¶
Get the latest Workflow for the StoredWorkflow identified by id and export it to a JSON file that can be imported back into Galaxy.
This has slightly different information than the above. In particular, it does not attempt to decode forms and build UIs, it just stores the raw state.