Mercurial > repos > iuc > dropletutils
changeset 8:a9caad671439 draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dropletutils/ commit 9d465ee72398a8a74fe499a2e4b74f507a5845cc"
author | iuc |
---|---|
date | Mon, 05 Jul 2021 13:40:00 +0000 |
parents | 2c1200fba922 |
children | |
files | dropletutils.xml scripts/dropletutils.Rscript test-data/defs_barcoderankings.png |
diffstat | 3 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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 -->
--- 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