# HG changeset patch # User galaxyp # Date 1745575416 0 # Node ID 28ffaaa5739fb57f506bb26c6d84579bd8910193 # Parent 331a50e8fd2f06952ffc48d87f826dabb32c8025 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msconvert commit 73cce4134ad971568ac8e557df97bab93ff24d4d diff -r 331a50e8fd2f -r 28ffaaa5739f msconvert.xml --- a/msconvert.xml Mon Mar 10 07:48:32 2025 +0000 +++ b/msconvert.xml Fri Apr 25 10:03:36 2025 +0000 @@ -1,4 +1,4 @@ - + Convert and/or filter mass spectrometry files msconvert_macros.xml diff -r 331a50e8fd2f -r 28ffaaa5739f msconvert_macros.xml --- a/msconvert_macros.xml Mon Mar 10 07:48:32 2025 +0000 +++ b/msconvert_macros.xml Fri Apr 25 10:03:36 2025 +0000 @@ -1,7 +1,7 @@ 3.0.20287 @VERSION@-769529fa4 - 24.2 + 23.2 /dev/null 2> /dev/null; echo $?) && - if [ "\$CAN_SUDO" -eq "0" ]; then + ## CAN_SUDO is "" if successful and "1" otherwise + CAN_SUDO=\$(sudo -n -l > /dev/null 2> /dev/null || echo \$?) && + echo "CAN SUDO \$CAN_SUDO" && + if [ -z "\$CAN_SUDO" ]; then uid=`id -u` && - gid=`id -g` && + gid=`id -g` && WINE="wine64_anyuser"; else WINE="wine64" && @@ -215,14 +217,14 @@ --outfile '${os.path.splitext($basename)[0]}' #end if && - if [ "\$CAN_SUDO" -eq "0" ]; then + if [ -z "\$CAN_SUDO" ]; then sudo chown -R \$uid:\$gid './'; fi #if $general_options.multi_run_output.do_multi_run_output == 'false': && mv 'outputs/${os.path.splitext($basename)[0]}.${output_type}' '${output}' #else ## make mzML and mzXML extensions lower case (the Galaxy data type is ) otherwise detetion of the file - ## this won't be necessay from Galaxy 21.01 https://github.com/galaxyproject/galaxy/pull/10803 + ## this won't be necessay from Galaxy 25.0 https://github.com/galaxyproject/galaxy/pull/19954 #if $output_type == 'mzML' or $output_type == 'mzXML' && find outputs/ -name "*.$output_type" | xargs -I "FILE" sh -c 'mv FILE outputs/\$(basename FILE .$output_type).#echo str($output_type).lower() ## a newline is needed after `#echo ...` therefore the `;'` on the next line @@ -430,7 +432,6 @@ -
@@ -565,7 +566,7 @@ general_options['multi_run_output']['do_multi_run_output'] == "true" - +