changeset 8:fdad714d7caf draft

planemo upload for repository https://github.com/vgl-hub/rdeval commit 4cc1663a537f4923c95e13f38abaa0c660cc657f
author richard-burhans
date Fri, 09 May 2025 18:26:47 +0000
parents 40a03830a38c
children 37d67c252fed
files macros.xml rdeval_report.xml
diffstat 2 files changed, 5 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- a/macros.xml	Mon May 05 21:01:33 2025 +0000
+++ b/macros.xml	Fri May 09 18:26:47 2025 +0000
@@ -5,7 +5,7 @@
         </requirements>
     </xml>
     <token name="@TOOL_VERSION@">0.0.7</token>
-    <token name="@VERSION_SUFFIX@">2</token>
+    <token name="@VERSION_SUFFIX@">4</token>
     <token name="@PROFILE@">23.02</token>
     <xml name="citations">
         <citations>
--- a/rdeval_report.xml	Mon May 05 21:01:33 2025 +0000
+++ b/rdeval_report.xml	Fri May 09 18:26:47 2025 +0000
@@ -17,38 +17,21 @@
     #end for
     #set $r_vector = "c(" + ",".join(input_file_list) + ")"
     #set $interactive_value = "FALSE"
-    #if $output_format.format_selector == "html" and $output_format.interactive
+    #if $interactive
         #set $interactive_value = "TRUE"
     #end if
-    R -e "rmarkdown::render('figures.Rmd', output_file='$outfile', output_format='${output_format.format_selector}_document', params=list(input_files=$r_vector, interactive='$interactive_value'))"
+    R -e "rmarkdown::render('figures.Rmd', output_file='$outfile', output_format='html_document', params=list(input_files=$r_vector, interactive='$interactive_value'))"
 	]]></command>
     <inputs>
         <param name="input_files" type="data" format="data" multiple="true" label="Input dataset" help="RD files"/>
-        <conditional name="output_format">
-            <param name="format_selector" type="select" label="output format" help="output format">
-                <option value="html" selected="true">html</option>
-                <option value="pdf">pdf</option>
-            </param>
-            <when value="html">
-                <param name="interactive" type="boolean" value="true" label="interactive" help="interactive"/>
-            </when>
-            <when value="pdf"/>
-        </conditional>
+        <param name="interactive" type="boolean" value="true" label="interactive" help="interactive"/>
     </inputs>
     <outputs>
-        <data name="outfile" format="html" label="Rdeval report">
-            <change_format>
-                <when input="output_format" value="pdf" format="pdf"/>
-            </change_format>
-        </data>
+        <data name="outfile" format="html" label="Rdeval report"/>
     </outputs>
     <tests>
         <test expect_num_outputs="1">
             <param name="input_files" value="input1.rd"/>
-            <conditional name="output_format">
-                <param name="format_selector" value="html"/>
-            </conditional>
-
             <output name="outfile" ftype="html">
                 <assert_contents>
                     <has_size size="833000" delta="8330"/>