# HG changeset patch # User iuc # Date 1747421375 0 # Node ID 0cae005d8c4c9ebd992726c3e56de7df739b303a # Parent 94217ea284533b3e3f25d0518a1f3ec6f0bb2a99 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit c91b1ba99124a481c1f6cb1100abd0629974616b diff -r 94217ea28453 -r 0cae005d8c4c logex.xml --- a/logex.xml Wed May 14 07:36:48 2025 +0000 +++ b/logex.xml Fri May 16 18:49:35 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) &&