Repository 'dropletutils'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/dropletutils

Changeset 8:a9caad671439 (2021-07-05)
Previous changeset 7:2c1200fba922 (2021-01-07)
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dropletutils/ commit 9d465ee72398a8a74fe499a2e4b74f507a5845cc"
modified:
dropletutils.xml
scripts/dropletutils.Rscript
test-data/defs_barcoderankings.png
b
diff -r 2c1200fba922 -r a9caad671439 dropletutils.xml
--- a/dropletutils.xml Thu Jan 07 19:36:54 2021 +0000
+++ b/dropletutils.xml Mon Jul 05 13:40:00 2021 +0000
[
@@ -16,7 +16,7 @@
     </edam_operations>
     <macros>
         <token name="@TOOL_VERSION@">1.10.0</token>
-        <token name="@VERSION_SUFFIX@">1</token>
+        <token name="@VERSION_SUFFIX@">2</token>
         <token name="@TXIN@">tenx.input</token>
         <token name="@TXOUT@">tenx.output</token>
         <xml name="test_dirin" >
@@ -218,6 +218,9 @@
                 <param name="lower" value="120" />
             </conditional>
             <output name="plot" value="defs_barcoderankings.png" compare="sim_size" delta="600"/>
+            <assert_stdout>
+                <has_line line='[1] "knee = 324 , inflection =  151"'/>
+            </assert_stdout>
         </test>
         <test expect_num_outputs="3">
             <!-- ::: Empty Drops -->
b
diff -r 2c1200fba922 -r a9caad671439 scripts/dropletutils.Rscript
--- a/scripts/dropletutils.Rscript Thu Jan 07 19:36:54 2021 +0000
+++ b/scripts/dropletutils.Rscript Mon Jul 05 13:40:00 2021 +0000
[
@@ -161,13 +161,12 @@
     o <- order(brout$rank)
     lines(brout$rank[o], brout$fitted[o], col = "red")
 
-    abline(h = brout$knee, col = "dodgerblue", lty = 2)
-    abline(h = brout$inflection, col = "forestgreen", lty = 2)
+    abline(h = metadata(brout)$knee, col = "dodgerblue", lty = 2)
+    abline(h = metadata(brout)$inflection, col = "forestgreen", lty = 2)
     legend("bottomleft", lty = 2, col = c("dodgerblue", "forestgreen"),
            legend = c("knee", "inflection"))
     dev.off()
-
-    print(paste("knee =", brout$knee, ", inflection = ", brout$inflection))
+    print(paste("knee =", metadata(brout)$knee, ", inflection = ", metadata(brout)$inflection))
 }
 
 ## Main
b
diff -r 2c1200fba922 -r a9caad671439 test-data/defs_barcoderankings.png
b
Binary file test-data/defs_barcoderankings.png has changed