From 663c08aec43498ab5c7e91f745126f7edd00496e Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Thu, 9 Dec 2021 17:54:06 +0000 Subject: [PATCH] Fix tool-provided metadata for CONVERTER_tar_to_directory The metadata are in the "default" (not "legacy") format, so need to use a newer tool profile. Also: - Use CDATA and `&&` in command --- .../datatypes/converters/tar_to_directory.xml | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/lib/galaxy/datatypes/converters/tar_to_directory.xml b/lib/galaxy/datatypes/converters/tar_to_directory.xml index 0160746283d..850a4f67e64 100644 --- a/lib/galaxy/datatypes/converters/tar_to_directory.xml +++ b/lib/galaxy/datatypes/converters/tar_to_directory.xml @@ -1,18 +1,23 @@ - + galaxy-util - - mkdir '$output1.files_path'; - cd '$output1.files_path'; - python -c "from galaxy.util.compression_utils import CompressedFile; CompressedFile('$input1').extract('.');" - + + + {"output1": {"created_from_basename": "${input1.created_from_basename}"}} + + - + @@ -20,6 +25,6 @@ - - +