mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 05:45:37 +08:00
Sanitization now occurs as part of the InputValueWrapper logic. Previously sanitization occurred as soon as parameter values were provided by the user via form submits, causing the sanitized values to be stored in the database. Now the original user specified values are stored in the database and sanitation happens when str is called on the InputValueWrapper, i.e. during command-line generation and when generating configfiles. Abstract out param name and value translations that are performed on data source tools. This changes some of the names of the tags used for these purposes (e.g. data_type_translation becomes value_translation) to reflect this generalization. The ToolConfigSyntax wiki page has been updated with these changes. Future Enhancement: Allow methods with arguments and keywords to be specified for sanitation and translation purposes.
31 lines
1.8 KiB
XML
31 lines
1.8 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
If the value of 'URL_method' is 'get', the request will consist of the value of 'URL' coming back in
|
|
the initial response. If value of 'URL_method' is 'post', any additional params coming back in the
|
|
initial response ( in addition to 'URL' ) will be encoded and appended to URL and a post will be performed.
|
|
-->
|
|
<tool name="EpiGRAPH" id="epigraph_import_test" tool_type="data_source">
|
|
<description> test server</description>
|
|
<command interpreter="python">data_source.py $output $__app__.config.output_size_limit</command>
|
|
<inputs action="http://epigraph.mpi-inf.mpg.de/WebGRAPH_Public_Test/faces/Login.jsp" check_values="false" method="get">
|
|
<display>go to EpiGRAPH server $GALAXY_URL</display>
|
|
<param name="GALAXY_URL" type="baseurl" value="/tool_runner?tool_id=epigraph_import_test" />
|
|
</inputs>
|
|
<request_param_translation>
|
|
<request_param galaxy_name="URL_method" remote_name="URL_method" missing="get" />
|
|
<request_param galaxy_name="URL" remote_name="URL" missing="" />
|
|
<request_param galaxy_name="dbkey" remote_name="GENOME" missing="?" />
|
|
<request_param galaxy_name="organism" remote_name="organism" missing="" />
|
|
<request_param galaxy_name="table" remote_name="table" missing="" />
|
|
<request_param galaxy_name="description" remote_name="description" missing="" />
|
|
<request_param galaxy_name="name" remote_name="NAME" missing="EpiGRAPH query" />
|
|
<request_param galaxy_name="info" remote_name="INFO" missing="" />
|
|
<request_param galaxy_name="data_type" remote_name="data_type" missing="txt" />
|
|
</request_param_translation>
|
|
<uihints minwidth="800"/>
|
|
<outputs>
|
|
<data name="output" format="txt" />
|
|
</outputs>
|
|
<options sanitize="False" refresh="True"/>
|
|
</tool>
|