Files
galaxy/test/functional/tools/samples_tool_conf.xml
T
mvdbeek 90ccfefe9a Add switch for optional select in workflow editor
If the `Set value for this optional select field ? `switch is set to no
we serialize the value as `null` instead of `""`, which is especially
important in optional select fields, where `""` may correspond to an
option that is distinct from not setting a value.

I have only enabled this for select parameters that are cast to text
parameters, but I think this discrimination between set and unset
would also be great for optional text parameters.
There might be a better way to do it in the UI (maybe some icon that
indicates that the value is set, that can be toggled with an backspace
when the field is empty?), but I think this will do for the relatively
rare case of optional select parameters that are cast to text fields.

Fixes https://github.com/galaxyproject/galaxy/issues/12081
2021-06-14 12:49:51 +02:00

267 lines
11 KiB
XML

<?xml version="1.0"?>
<toolbox tool_path="${tool_conf_dir}" is_shed_conf="false">
<tool file="upload.xml"/>
<section id="test" name="Test Section">
<tool file="multi_data_optional.xml" />
<tool file="paths_as_file.xml" />
<tool file="param_text_option.xml" />
<tool file="column_param.xml" />
</section>
<tool file="test_data_source.xml"/>
<tool file="simple_constructs.xml" />
<tool file="color_param.xml" />
<tool file="inheritance_simple.xml" />
<tool file="boolean_conditional.xml" />
<tool file="composite.xml" />
<tool file="environment_variables.xml" />
<tool file="environment_variables_inject.xml" />
<tool file="code_file.xml" />
<tool file="disambiguate_cond.xml" />
<tool file="multi_repeats.xml"/>
<tool file="library_data.xml"/>
<tool file="remove_value.xml"/>
<tool file="bibtex.xml"/>
<tool file="multi_select.xml" />
<tool file="multi_output.xml" />
<tool file="multi_output_configured.xml" />
<tool file="multi_output_assign_primary.xml" />
<tool file="multi_output_assign_primary_ext_dbkey.xml" />
<tool file="multi_output_recurse.xml" />
<tool file="tool_provided_metadata_1.xml" />
<tool file="tool_provided_metadata_2.xml" />
<tool file="tool_provided_metadata_3.xml" />
<tool file="tool_provided_metadata_4.xml" />
<tool file="tool_provided_metadata_5.xml" />
<tool file="tool_provided_metadata_6.xml" />
<tool file="tool_provided_metadata_7.xml" />
<tool file="tool_provided_metadata_8.xml" />
<tool file="tool_provided_metadata_9.xml" />
<tool file="tool_provided_metadata_10.xml" />
<tool file="tool_provided_metadata_11.xml" />
<tool file="tool_provided_metadata_12.xml" />
<tool file="empty_datasets.xml" />
<tool file="inputs_as_json.xml" />
<tool file="inputs_as_json_profile.xml" />
<tool file="inputs_as_json_with_paths.xml" />
<tool file="filter_multiple_splitter.xml" />
<tool file="filter_static_regexp.xml" />
<tool file="select_from_dataset.xml" />
<tool file="select_from_dataset_optional.xml" />
<tool file="dbkey_filter_input.xml" />
<tool file="dbkey_filter_multi_input.xml" />
<tool file="dbkey_filter_collection.xml" />
<tool file="dbkey_filter_paired_collection.xml" />
<tool file="dbkey_output_action.xml" />
<tool file="composite_output.xml" />
<tool file="composite_output_tests.xml" />
<tool file="unicode_stream.xml" />
<tool file="vcf_bgzip.xml" />
<tool file="metadata.xml" />
<tool file="metadata_bam.xml" />
<tool file="metadata_bcf.xml" />
<tool file="metadata_biom1.xml" />
<tool file="metadata_column_names.xml" />
<tool file="strict_shell.xml" />
<tool file="strict_shell_default_off.xml" />
<tool file="strict_shell_profile.xml" />
<tool file="detect_errors.xml" />
<tool file="detect_errors_aggressive.xml" />
<tool file="qc_stdout.xml" />
<tool file="directory_uri.xml" />
<tool file="md5sum.xml" />
<tool file="checksum.xml" />
<tool file="sim_size_delta.xml" />
<tool file="composite_shapefile.xml" />
<tool file="is_valid_xml.xml" />
<tool file="expression_tools/parse_values_from_file.xml"/>
<tool file="expression_tools/pick_value.xml" />
<!--
TODO: Figure out why this transiently fails on Jenkins.
<tool file="maxseconds.xml" />
-->
<tool file="job_properties.xml" />
<tool file="job_environment_default.xml" />
<tool file="job_environment_default_legacy.xml" />
<tool file="job_environment_explicit_shared_home.xml" />
<tool file="job_environment_explicit_isolated_home.xml" />
<tool file="galaxy_slots_and_memory.xml" />
<tool file="version_command_plain.xml" />
<tool file="version_command_interpreter.xml" />
<tool file="version_command_tool_dir.xml" />
<tool file="exit_code_oom.xml" />
<tool file="exit_code_from_file.xml" />
<tool file="exit_code_from_env.xml" />
<tool file="gzipped_inputs.xml" />
<tool file="options_from_metadata_file.xml" />
<tool file="output_order.xml" />
<tool file="output_format.xml" />
<tool file="output_format_deprecated_when.xml" />
<tool file="output_format_collection.xml" />
<tool file="output_filter.xml" />
<tool file="output_empty_work_dir.xml" />
<tool file="output_filter_with_input.xml" />
<tool file="output_filter_with_input_optional.xml" />
<tool file="output_filter_exception_1.xml" />
<tool file="output_collection_filter.xml" />
<tool file="output_auto_format.xml" />
<tool file="create_2.xml" />
<tool file="create_10.xml" />
<tool file="disambiguate_repeats.xml" />
<tool file="min_repeat.xml" />
<tool file="parallelism.xml" />
<tool file="parallelism_optional.xml" />
<tool file="implicit_default_conds.xml" />
<tool file="multi_data_param.xml" />
<tool file="multi_data_repeat.xml" />
<tool file="multi_data_optional.xml" />
<tool file="paths_as_file.xml" />
<tool file="param_text_option.xml" />
<tool file="column_param.xml" />
<tool file="column_param_configfile.xml" />
<tool file="column_param_list.xml" />
<tool file="column_multi_param.xml" />
<tool file="hidden_param.xml" />
<tool file="special_params.xml" />
<tool file="section.xml" />
<tool file="sam_to_unsorted_bam.xml" />
<tool file="top_level_data.xml" />
<tool file="validation_hdf5.xml" />
<tool file="validation_zip.xml" />
<tool file="validation_tar.xml" />
<tool file="validation_tar_gz.xml" />
<tool file="validation_default.xml" />
<tool file="validation_sanitizer.xml" />
<tool file="validation_repeat.xml" />
<tool file="validation_metadata_in_range.xml"/>
<tool file="empty_output.xml" />
<tool file="validation_empty_dataset.xml" />
<tool file="implicit_conversion.xml" />
<tool file="implicit_conversion_format_input.xml" />
<tool file="implicit_collection_conversion.xml" />
<tool file="implicit_nested_list_conversion.xml" />
<tool file="explicit_conversion.xml" />
<tool file="identifier_source.xml" />
<tool file="identifier_single.xml" />
<tool file="identifier_single_in_repeat.xml" />
<tool file="identifier_in_conditional.xml" />
<tool file="identifier_multiple.xml" />
<tool file="identifier_multiple_in_conditional.xml" />
<tool file="identifier_multiple_in_repeat.xml" />
<tool file="identifier_collection.xml" />
<tool file="identifier_in_actions.xml" />
<tool file="fail_identifier.xml" />
<tool file="fail_writing_work_dir_file.xml" />
<tool file="tool_directory.xml" />
<tool file="tool_directory_docker.xml" />
<tool file="output_action_change_format.xml" />
<tool file="output_action_change_format_paired.xml" />
<tool file="collection_paired_test.xml" />
<tool file="collection_paired_structured_like.xml" />
<tool file="collection_paired_conditional_structured_like.xml" />
<tool file="collection_nested_test.xml" />
<tool file="collection_mixed_param.xml" />
<tool file="collection_two_paired.xml" />
<tool file="collection_creates_pair.xml" />
<tool file="collection_creates_pair_format.xml" />
<tool file="collection_creates_pair_from_type.xml" />
<tool file="collection_creates_pair_from_work_dir.xml" />
<tool file="collection_creates_list.xml" />
<tool file="collection_creates_list_2.xml" />
<tool file="collection_creates_list_of_pairs.xml" />
<tool file="collection_optional_param.xml" />
<tool file="collection_split_on_column.xml" />
<tool file="collection_creates_dynamic_nested.xml" />
<tool file="collection_creates_dynamic_nested_from_json.xml" />
<tool file="collection_creates_dynamic_nested_from_json_elements.xml" />
<tool file="collection_creates_dynamic_list_of_pairs.xml" />
<tool file="collection_type_source.xml" />
<tool file="collection_type_source_map_over.xml" />
<tool file="collection_creates_list_fail.xml" />
<tool file="collection_creates_dynamic_nested_fail.xml" />
<tool file="collection_cat_group_tag.xml" />
<tool file="collection_cat_group_tag_multiple.xml" />
<tool file="discover_sort_by.xml" />
<tool file="expression_forty_two.xml" />
<tool file="expression_pick_larger_file.xml" />
<tool file="expression_parse_int.xml" />
<tool file="expression_log_line_count.xml" />
<tool file="expression_null_handling_boolean.xml" />
<tool file="expression_null_handling_integer.xml" />
<tool file="expression_null_handling_float.xml" />
<tool file="expression_null_handling_text.xml" />
<tool file="cheetah_casting.xml" />
<tool file="cheetah_problem_unbound_var.xml" />
<tool file="cheetah_problem_unbound_var_input.xml" />
<tool file="cheetah_problem_syntax_error.xml" />
<tool file="python_environment_problem.xml" />
<tool file="config_vars.xml" />
<tool file="multiple_versions_v01.xml" />
<tool file="multiple_versions_v01galaxy6.xml" />
<tool file="multiple_versions_v02.xml" />
<tool file="multiple_versions_changes_v01.xml" />
<tool file="multiple_versions_changes_v02.xml" />
<tool file="interactivetool_simple.xml" />
<tool file="interactivetool_two_entry_points.xml" />
<!-- Tools interesting only for building up test workflows. -->
<!-- Next three tools demonstrate concatenating multiple datasets
with a repeat, multiple datasets with a multiple input data
parameter, and multiple datasets from a collection. -->
<tool file="for_workflows/cat.xml" />
<tool file="for_workflows/cat_list.xml" />
<tool file="for_workflows/cat_collection.xml" />
<tool file="for_workflows/head.xml" />
<tool file="for_workflows/cat_interleave.xml" />
<tool file="for_workflows/pileup.xml" />
<tool file="for_workflows/mapper.xml" />
<tool file="for_workflows/mapper2.xml" />
<tool file="for_workflows/mapper_two.xml" />
<tool file="for_workflows/split.xml" />
<tool file="for_workflows/empty_list.xml" />
<tool file="for_workflows/count_list.xml" />
<tool file="for_workflows/count_multi_file.xml" />
<tool file="for_workflows/create_input_collection.xml" />
<tool file="for_workflows/randomlines.xml" />
<section id="filter" name="For Tours">
<tool file="for_tours/filtering.xml" />
</section>
<!-- Tools for dependency and container testing. -->
<tool file="legacy_r.xml" />
<tool file="mulled_example_multi_1.xml" />
<tool file="mulled_example_multi_versionless.xml" />
<tool file="mulled_example_multi_incomplete.xml" />
<tool file="mulled_example_conflict.xml" />
<tool file="mulled_example_simple.xml" />
<tool file="mulled_example_explicit.xml" />
<tool file="mulled_example_invalid_case.xml" />
<tool file="mulled_example_broken_no_requirements.xml" />
<tool file="simple_constructs.yml" />
<!-- Tools without tool test but useful for hand-crafted, artisanal test cases. -->
<tool file="cat_data_and_sleep.xml" />
<!-- Load collection operation tools - I consider these part of the
"framework" and they are used to in API tests to test the underlying
ToolActions. -->
<tool file="${model_tools_path}/unzip_collection.xml" />
<tool file="${model_tools_path}/zip_collection.xml" />
<tool file="${model_tools_path}/filter_failed_collection.xml" />
<tool file="${model_tools_path}/filter_empty_collection.xml" />
<tool file="${model_tools_path}/flatten_collection.xml" />
<tool file="${model_tools_path}/sort_collection_list.xml" />
<tool file="${model_tools_path}/merge_collection.xml" />
<tool file="${model_tools_path}/relabel_from_file.xml" />
<tool file="${model_tools_path}/filter_from_file.xml" />
<tool file="${model_tools_path}/tag_collection_from_file.xml" />
<tool file="${model_tools_path}/apply_rules.xml" />
<tool file="${model_tools_path}/build_list.xml" />
<tool file="${model_tools_path}/extract_dataset.xml" />
</toolbox>