Warning

This document is for an in-development version 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.datatypes.display_applications package

Contains functionality of the newer XML defined external display applications (not hardcoded into datatype classes).

Submodules

galaxy.datatypes.display_applications.application module

Bases: object

classmethod from_elem(elem, display_application, other_values=None)[source]
__init__(display_application)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

get_display_url(data, trans)[source]
get_inital_values(data, trans)[source]
build_parameter_dict(data, dataset_hash, user_hash, trans, app_kwds)[source]
filter_by_dataset(data, trans)[source]
class galaxy.datatypes.display_applications.application.DynamicDisplayApplicationBuilder(elem, display_application, build_sites)[source]

Bases: object

__init__(elem, display_application, build_sites)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

Bases: object

__init__(display_application_link, data, dataset_hash, user_hash, trans, app_kwds)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

display_ready()[source]
get_param_value(name)[source]
preparing_display()[source]
prepare_display()[source]
get_prepare_steps(datasets_only=True)[source]
display_url()[source]
get_param_name_by_url(url)[source]
allow_cors
class galaxy.datatypes.display_applications.application.DisplayApplication(display_id, name, app, version=None, filename=None, elem=None)[source]

Bases: object

classmethod from_file(filename, app)[source]
classmethod from_elem(elem, app, filename=None)[source]
__init__(display_id, name, app, version=None, filename=None, elem=None)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

filter_by_dataset(data, trans)[source]
reload()[source]
add_data_table_watch(table_name, version=None)[source]

galaxy.datatypes.display_applications.parameters module

class galaxy.datatypes.display_applications.parameters.DisplayApplicationParameter(elem, link)[source]

Bases: object

Abstract Class for Display Application Parameters

type = None
classmethod from_elem(elem, link)[source]
__init__(elem, link)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

get_value(other_values, dataset_hash, user_hash, trans)[source]
prepare(other_values, dataset_hash, user_hash, trans)[source]
ready(other_values)[source]
is_preparing(other_values)[source]
build_url(other_values)[source]
class galaxy.datatypes.display_applications.parameters.DisplayApplicationDataParameter(elem, link)[source]

Bases: galaxy.datatypes.display_applications.parameters.DisplayApplicationParameter

Parameter that returns a file_name containing the requested content

type = 'data'
__init__(elem, link)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

formats
get_value(other_values, dataset_hash, user_hash, trans)[source]
prepare(other_values, dataset_hash, user_hash, trans)[source]
is_preparing(other_values)[source]
ready(other_values)[source]
class galaxy.datatypes.display_applications.parameters.DisplayApplicationTemplateParameter(elem, link)[source]

Bases: galaxy.datatypes.display_applications.parameters.DisplayApplicationParameter

Parameter that returns a string containing the requested content

type = 'template'
__init__(elem, link)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

get_value(other_values, dataset_hash, user_hash, trans)[source]
class galaxy.datatypes.display_applications.parameters.DisplayParameterValueWrapper(value, parameter, other_values, dataset_hash, user_hash, trans)[source]

Bases: object

ACTION_NAME = 'param'
__init__(value, parameter, other_values, dataset_hash, user_hash, trans)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

mime_type(action_param_extra=None)[source]
url
action_name
qp
class galaxy.datatypes.display_applications.parameters.DisplayDataValueWrapper(value, parameter, other_values, dataset_hash, user_hash, trans)[source]

Bases: galaxy.datatypes.display_applications.parameters.DisplayParameterValueWrapper

ACTION_NAME = 'data'
mime_type(action_param_extra=None)[source]
action_name
qp

galaxy.datatypes.display_applications.util module

galaxy.datatypes.display_applications.util.encode_dataset_user(trans, dataset, user)[source]
galaxy.datatypes.display_applications.util.decode_dataset_user(trans, dataset_hash, user_hash)[source]