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.

Source code for galaxy.tools.actions.data_source

import logging

from . import DefaultToolAction

log = logging.getLogger(__name__)


[docs]class DataSourceToolAction(DefaultToolAction): """Tool action used for Data Source Tools""" def _get_default_data_name( self, dataset, tool, on_text=None, trans=None, incoming=None, history=None, params=None, job_params=None, **kwd ): if incoming and "name" in incoming: return incoming["name"] return super()._get_default_data_name( dataset, tool, on_text=on_text, trans=trans, incoming=incoming, history=history, params=params, job_params=job_params, )