changeset 4:0a10fddd97d2 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pretext commit d4d8ca8335f9ec33fb889c9b283b9455190d2fb1
author iuc
date Tue, 19 Dec 2023 05:35:33 +0000
parents 44c66e8d21e6
children 6c571966cfb9
files pretext_snapshot.xml
diffstat 1 files changed, 10 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/pretext_snapshot.xml	Thu Nov 11 15:05:52 2021 +0000
+++ b/pretext_snapshot.xml	Tue Dec 19 05:35:33 2023 +0000
@@ -1,11 +1,11 @@
-<tool id="pretext_snapshot" name="Pretext Snapshot"  version="@WRAPPER_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">
+<tool id="pretext_snapshot" name="Pretext Snapshot"  version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">
         <description>image generator for Pretext contact maps</description>
     <macros>
-        <token name="@WRAPPER_VERSION@">0.0.3</token>
-        <token name="@VERSION_SUFFIX@">1</token>
+        <token name="@TOOL_VERSION@">0.0.3</token>
+        <token name="@VERSION_SUFFIX@">2</token>
     </macros>
     <requirements>
-        <requirement type="package" version="@WRAPPER_VERSION@">pretextsnapshot</requirement>
+        <requirement type="package" version="@TOOL_VERSION@">pretextsnapshot</requirement>
         <requirement type="package" version="1.601">rename</requirement>
     </requirements>
     <version_command>PretextSnapshot --version</version_command>
@@ -43,12 +43,12 @@
             <when value="png"/>
             <when value="bmp"/>
             <when value="jpeg">
-                <param name="jpegQuality" argument="--jpegQuality" type="integer" label="JPEG quality factor" value="80" min="0" max="100" help="An integer between 1 and 100, default 80. Larger values result in increased image quality and file size."/>
+                <param argument="--jpegQuality" type="integer" label="JPEG quality factor" value="80" min="0" max="100" help="An integer between 0 and 100, default 80. Larger values result in increased image quality and file size."/>
             </when>
         </conditional>
         <param name="resolution" argument="-r" type="integer" label="Output image resolution" min="1" value="1000" help="Image resolution, a positive integer, default 1080. For non-square images this will be the resolution of the longest dimension."/>
         <param name="colormap" argument='-c' type="integer" label="Color Map" value="5" min="0" max="30" help="Color map based on list available in the help section"/>
-        <param name="sequences" argument="--sequences" type="text" label="Sequence specification string" value="=full, =all" help="Each entry, except for '=all', corresponds to one output image. More information available in the help section.">
+        <param argument="--sequences" type="text" label="Sequence specification string" value="=full, =all" help="Each entry, except for '=all', corresponds to one output image. More information available in the help section.">
             <sanitizer invalid_char="">
                 <valid initial="string.ascii_letters,string.digits">
                     <add value="="/>
@@ -67,7 +67,10 @@
         </param>
         <param name="mintexels" argument="--minTexels" type="integer" min="1" label="Min Texels" value="64" help="Minimum map texels per image (along a single dimension), a positive integer, Output images over too small a range that violate this minimum will not be created."/>
         <conditional name="grid">
-            <param name="showGrid" label="Show grid?" type="boolean" truevalue="yes" falsevalue="no"/>
+            <param name="showGrid" label="Show grid?" type="select">
+                <option value="no">No</option>
+                <option value="yes">Yes</option>
+            </param>
             <when value="yes">
                 <param name="gridsize" argument="--gridSize" type="integer" label="Grid size" value="1" min="1" help="Width in pixels of the sequence separation grid, a non-negative integer. Set to 0 to not overlay a grid."/>
                 <param name="gridcolor" argument="--gridColour" type="text" label="Grid color" value="black" help="Colour of the sequence separation grid. Either, one of: 'black'(default), 'white', 'red', 'green', 'blue', 'yellow', 'cyan' or 'magenta'. Or, a sRGBA 32-bit hex code in RRGGBBAA format, e.g. 'ff00ff80' (magenta at half-occupancy)."/>