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.

Source code for galaxy.selenium.data

import yaml
from pkg_resources import resource_string

from .components import Component

[docs]def load_root_component() -> Component: new_data_yaml = resource_string(__name__, 'navigation.yml').decode("UTF-8") navigation_raw = yaml.safe_load(new_data_yaml) return Component.from_dict("root", navigation_raw)