changeset 6:046f51d5f701 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pretext commit f58b497b52f86a3d1c2c5eedbdf684145d43f1e8
author iuc
date Fri, 07 Nov 2025 16:39:39 +0000
parents d83252caf5f1
children
files pretext_snapshot.xml test-data/fullmap1.jpg test-data/fullmap2.bmp test-data/output_4.pretext test-data/output_5.pretext test-data/snapshot1.jpg test-data/snapshot2.jpg test-data/snapshot3.jpg
diffstat 8 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/pretext_snapshot.xml	Wed Nov 13 14:30:16 2024 +0000
+++ b/pretext_snapshot.xml	Fri Nov 07 16:39:39 2025 +0000
@@ -1,8 +1,8 @@
 <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="@TOOL_VERSION@">0.0.4</token>
-        <token name="@VERSION_SUFFIX@">0</token>
+        <token name="@TOOL_VERSION@">0.0.5</token>
+        <token name="@VERSION_SUFFIX@">1</token>
     </macros>
     <requirements>
         <requirement type="package" version="@TOOL_VERSION@">pretextsnapshot</requirement>
@@ -89,7 +89,7 @@
             <param name="input" value="map.pretext"/>
             <conditional name="formats">
                 <param name="outformat" value="jpeg"/>
-                <param name="jpegquality" value="80"/>
+                <param name="jpegQuality" value="80"/>
             </conditional>
             <param name="resolution" value="900"/>
             <param name="colormap" value="1"/>
@@ -100,7 +100,7 @@
                 <param name="gridsize" value="2"/>
                 <param name="gridcolor" value="red"/>
             </conditional>
-            <param name="sequencenames" value="--printSequenceNames"/>
+            <param name="sequencenames" value="True"/>
             <output_collection name="pretext_snap_out" count="4">
                 <element name="pretext_snapshotFullMap" ftype="jpg" file="fullmap1.jpg"/>
                 <element name="pretext_snapshotref_0" ftype="jpg" file="snapshot1.jpg"/>
@@ -110,6 +110,7 @@
         </test>
         <test expect_num_outputs="1">
             <param name="input" value="map.pretext"/>
+            <param name="sequencenames" value="True"/>
             <conditional name="formats">
                 <param name="outformat" value="bmp"/>
             </conditional>
@@ -118,7 +119,11 @@
             <param name="sequences" value="=full"/>
             <param name="mintexels" value="60"/>
             <output_collection name="pretext_snap_out" count="1">
-                <element name="pretext_snapshotFullMap" ftype="bmp" file="fullmap2.bmp"/>
+                <element name="pretext_snapshotFullMap" ftype="bmp">
+                    <assert_contents>
+                        <has_size value="1470054" delta="1000"/>
+                    </assert_contents>
+                </element>
             </output_collection>
         </test>
     </tests>
Binary file test-data/fullmap1.jpg has changed
Binary file test-data/fullmap2.bmp has changed
Binary file test-data/output_4.pretext has changed
Binary file test-data/output_5.pretext has changed
Binary file test-data/snapshot1.jpg has changed
Binary file test-data/snapshot2.jpg has changed
Binary file test-data/snapshot3.jpg has changed