# HG changeset patch # User iuc # Date 1747421348 0 # Node ID 999e30b753075ad1a5e7f00602a395f168604116 # Parent ee15b385e5d20a390d96616fcc07ee5cd0a06b82 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit c91b1ba99124a481c1f6cb1100abd0629974616b diff -r ee15b385e5d2 -r 999e30b75307 logex.xml --- a/logex.xml Wed May 14 07:36:23 2025 +0000 +++ b/logex.xml Fri May 16 18:49:08 2025 +0000 @@ -1,4 +1,4 @@ - + Performs binary operations on the generated Ktab files from FASTK suite macros.xml @@ -39,6 +39,12 @@ #for $p, $q in enumerate($input_type.input_ktab_collection_tar): ln -s "$q" input_files/input_ktab_${p+1}.tar && tar -tf input_files/input_ktab_${p+1}.tar | grep '/\.[^/]*$' | tar --strip-components=1 -xf input_files/input_ktab_${p+1}.tar -C input_files/ -T - && + for file_name in input_files/.output.ktab.*; do + if [ -f "\$file_name" ]; then + new_name=\$(echo "\$file_name" | sed "s/\.output\.ktab\./\.$((p+1))\.ktab\./"); + mv "\$file_name" "\$new_name"; + fi + done && rm input_files/input_ktab_${p+1}.tar && #end for COUNT=\$(ls -1 input_files/*.ktab 2>/dev/null | wc -l) &&