mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-11-03 21:34:30 +08:00
split_inputs_nested flattened the already-nested input state to |‑separated flat keys via visit_input_values, then called expand_flat_parameters_to_nested to rebuild the dict. That rebuild uses process_key / looks_like_flattened_repeat_key, which treats any path component ending in _<digit> (e.g. "column_selector_options_1") as a repeat-item index rather than a literal conditional name. The result was a spurious "column_selector_options" list instead of the expected "column_selector_options_1" / "column_selector_options_2" dicts, which then caused Pydantic to report extra_forbidden on the fake list and list_type (None) on col1 once fill_static_defaults initialised the now-missing conditional to an empty dict. The flat→nested round-trip was never needed for the nested-input path: the dict coming in is already correctly structured. Fix by returning nested_dict directly from split_inputs_nested as single_inputs, only extracting batch (matched / multiplied) inputs as flat-key entries as before. Strip internal state keys starting with __ that visit_input_values stamps so they don't appear as extra fields when the state reaches Pydantic validation. Also remove stray print() debug calls left in visitor.py.
380 lines
17 KiB
XML
380 lines
17 KiB
XML
<?xml version="1.0"?>
|
|
<toolbox tool_path="${tool_conf_dir}" is_shed_conf="false">
|
|
<tool file="upload.xml" />
|
|
<tool file="export_remote.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="image_diff.xml" />
|
|
<tool file="output_format_input.xml" />
|
|
<tool file="ucsc_tablebrowser.xml" />
|
|
<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="composite_pbed.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="remove_value.xml" />
|
|
<tool file="bibtex.xml" />
|
|
<tool file="help_features_rst.xml" />
|
|
<tool file="help_features_markdown.xml" />
|
|
<tool file="select_from_url.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="multi_output_recurse_collection.xml" />
|
|
<tool file="galaxy_json_discover_and_sleep.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="is_of_type.xml" />
|
|
<tool file="data_optional.xml" />
|
|
<tool file="inputs_as_json.xml" />
|
|
<tool file="inputs_as_json_profile.xml" />
|
|
<tool file="inputs_as_json_with_paths.xml" />
|
|
<tool file="inputs_as_json_with_staging_path_and_source_path.xml" />
|
|
<tool file="filter_multiple_splitter.xml" />
|
|
<tool file="filter_param_value.xml" />
|
|
<tool file="filter_param_value_ref_attribute.xml" />
|
|
<tool file="filter_static_regexp.xml" />
|
|
<tool file="select_from_dataset.xml" />
|
|
<tool file="select_from_dataset_in_conditional.xml" />
|
|
<tool file="conditional_name_digit_suffix.xml" />
|
|
<tool file="select_from_csvdataset.xml" />
|
|
<tool file="select_from_dataset_optional.xml" />
|
|
<tool file="drill_down.xml" />
|
|
<tool file="dbkey_filter_input.xml" />
|
|
<tool file="dbkey_filter_multi_input.xml" />
|
|
<tool file="dbkey_filter_collection.xml" />
|
|
<tool file="filter_data_table.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="discover_metadata_files.xml" />
|
|
<tool file="metadata_bcf.xml" />
|
|
<tool file="metadata_bed.xml" />
|
|
<tool file="metadata_biom1.xml" />
|
|
<tool file="metadata_check_eq.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="format_source_in_conditional.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="select_optional_legacy.xml" />
|
|
<tool file="select_optional.xml" />
|
|
<tool file="select_dynamic.xml" />
|
|
<tool file="select_from_data_table_no_name.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_image.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="validation_metadata_in_datatable.xml" />
|
|
<tool file="validation_dataset_metadata_in_file.xml" />
|
|
<tool file="validation_value_in_datatable.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_conversion_optional_param.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_all_collection_types.xml" />
|
|
<tool file="identifier_in_actions.xml" />
|
|
<tool file="fail_identifier.xml" />
|
|
<tool file="fail_writing_work_dir_file.xml" />
|
|
<tool file="legacy_interpreter.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_test_y.yml" />
|
|
<tool file="collection_paired_default.xml" />
|
|
<tool file="collection_paired_structured_like.xml" />
|
|
<tool file="collection_paired_conditional_structured_like.xml" />
|
|
<tool file="collection_paired_structured_like_with_data_input.xml" />
|
|
<tool file="collection_nested_test.xml" />
|
|
<tool file="collection_nested_default.xml" />
|
|
<tool file="collection_mixed_param.xml" />
|
|
<tool file="collection_two_paired.xml" />
|
|
<tool file="collection_creates_pair.xml" />
|
|
<tool file="collection_creates_pair_y.yml" />
|
|
<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_list_or_nested_list_input.xml" />
|
|
<tool file="collection_list_2x_or_3x_nested.xml" />
|
|
<tool file="collection_paired_or_list_paired_input.xml" />
|
|
<tool file="collection_cat_group_tag.xml" />
|
|
<tool file="collection_cat_group_tag_multiple.xml" />
|
|
<tool file="collection_record_test_two_files.xml" />
|
|
<tool file="collection_paired_or_unpaired.xml" />
|
|
<tool file="collection_list_paired_or_unpaired.xml" />
|
|
<tool file="discover_sort_by.xml" />
|
|
<tool file="discover_long_name.xml" />
|
|
<tool file="discover_default_ext.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="expression_text_to_bool.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="model_attributes.xml" />
|
|
<tool file="python_environment_problem.xml" />
|
|
<tool file="config_vars.xml" />
|
|
<tool file="expect_num_outputs.xml" />
|
|
<tool file="text_repeat.xml" />
|
|
<tool file="integer_default.xml" />
|
|
<tool file="float_default.xml" />
|
|
<tool file="all_output_types.xml" />
|
|
<tool file="markdown_report_simple.xml" />
|
|
<tool file="markdown_report_extra_files.xml" />
|
|
<tool file="markdown_report_from_script.xml" />
|
|
<tool file="multiple_versions_v01.xml" />
|
|
<tool file="multiple_versions_v01galaxy6.xml" />
|
|
<tool file="multiple_versions_v02.xml" />
|
|
<tool file="multiple_versions_hidden_v01.xml" hidden="true" />
|
|
<tool file="multiple_versions_hidden_v02.xml" />
|
|
<section id="test_section_multi" name="Test Section with Multiple Versions">
|
|
<tool file="multiple_versions_v01.xml" />
|
|
<tool file="multiple_versions_v01galaxy6.xml" />
|
|
<tool file="multiple_versions_v02.xml" />
|
|
</section>
|
|
<tool file="multiple_versions_sorting_v19.xml" />
|
|
<tool file="multiple_versions_sorting_v110.xml" />
|
|
|
|
<tool file="multiple_versions_changes_v01.xml" />
|
|
<tool file="multiple_versions_changes_v02.xml" />
|
|
<tool file="html_output.xml" />
|
|
<tool file="html_output_with_extra_files.xml" />
|
|
|
|
<tool file="interactivetool_simple.xml" />
|
|
<tool file="interactivetool_two_entry_points.xml" />
|
|
<tool file="converter_target_datatype.xml" />
|
|
<tool file="tool_directory_copy.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_default.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" />
|
|
<tool file="for_workflows/catWrapper.xml" />
|
|
<tool file="create_directory_index.xml" />
|
|
<tool file="use_directory_index.xml" />
|
|
|
|
<tool_dir dir="parameters/" />
|
|
<!-- YAML tools not picked up automatically yet - arguably for the
|
|
best until they are out of beta. -->
|
|
<tool file="parameters/gx_boolean_user.yml" />
|
|
<tool file="parameters/gx_data_user.yml" />
|
|
<tool file="parameters/gx_data_multiple_user.yml" />
|
|
<tool file="parameters/gx_select_multiple_one_default_user.yml" />
|
|
<tool file="parameters/gx_data_collection_list_or_paired.yml" />
|
|
<tool file="parameters/gx_data_collection_record.yml" />
|
|
<tool file="parameters/gx_data_collection_sample_sheet.yml" />
|
|
<tool file="parameters/gx_data_collection_paired_or_unpaired.yml" />
|
|
<tool file="parameters/gx_data_collection_list_paired.yml" />
|
|
<tool file="parameters/gx_data_collection_list_list.yml" />
|
|
<tool file="parameters/gx_data_collection_list_list_paired.yml" />
|
|
<tool file="parameters/gx_data_collection_list_or_record.yml" />
|
|
<tool file="parameters/gx_data_collection_list_paired_or_list_list.yml" />
|
|
<tool file="parameters/gx_data_collection_list_or_list_paired.yml" />
|
|
<tool file="parameters/gx_data_collection_paired_or_pou.yml" />
|
|
<tool file="parameters/gx_data_collection_any.yml" />
|
|
|
|
<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="mulled_example_broken_no_requirements_fallback.xml" />
|
|
<tool file="explicit_container.xml" />
|
|
<tool file="explicit_singularity_container.xml"/>
|
|
<tool file="simple_constructs.yml" />
|
|
<tool file="cat_user_defined.yml" />
|
|
<tool file="cat_multiple_user_defined.yml" />
|
|
<tool file="configfile_user_defined.yml" />
|
|
<tool file="from_work_dir_glob.xml" />
|
|
<tool file="secret_tool.xml" />
|
|
<tool file="credentials_test.xml" />
|
|
|
|
<!-- Tools without tool test but useful for hand-crafted, artisanal test cases. -->
|
|
<tool file="cat_data_and_sleep.xml" />
|
|
<tool file="parameters/gx_int_min_max.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}/keep_success_collection.xml" />
|
|
<tool file="${model_tools_path}/filter_empty_collection.xml" />
|
|
<tool file="${model_tools_path}/filter_null.xml" />
|
|
<tool file="${model_tools_path}/flatten_collection.xml" />
|
|
<tool file="${model_tools_path}/sort_collection_list.xml" />
|
|
<tool file="${model_tools_path}/harmonize_two_collections_list.xml" />
|
|
<tool file="${model_tools_path}/harmonize_two_collections_list_1.0.0.xml" />
|
|
<tool file="${model_tools_path}/nest_collection.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}/cross_product_flat.xml" />
|
|
<tool file="${model_tools_path}/cross_product_nested.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}/build_list_1.2.0.xml" />
|
|
<tool file="${model_tools_path}/sample_sheet_to_tabular.xml" />
|
|
<tool file="${model_tools_path}/convert_sample_sheet.xml" />
|
|
<tool file="${model_tools_path}/extract_dataset.xml" />
|
|
<tool file="${model_tools_path}/duplicate_file_to_collection.xml" />
|
|
<tool file="${model_tools_path}/split_paired_and_unpaired.xml" />
|
|
</toolbox>
|