diff goseq.r @ 11:602de62d995b draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/goseq commit 0829a85b7fd9d09202450e50d30446cf9845791c
author iuc
date Wed, 11 Jan 2023 10:13:15 +0000
parents ef2ad746b589
children
line wrap: on
line diff
--- a/goseq.r	Thu Jun 09 13:01:48 2022 +0000
+++ b/goseq.r	Wed Jan 11 10:13:15 2023 +0000
@@ -1,6 +1,6 @@
-options(show.error.messages = F, error = function() {
+options(show.error.messages = FALSE, error = function() {
   cat(geterrmessage(), file = stderr())
-  q("no", 1, F)
+  q("no", 1, FALSE)
 })
 
 # we need that to not crash galaxy with an UTF8 error on German LC settings.
@@ -146,7 +146,7 @@
   )
 
   # Compare sampling with wallenius
-  if (args$make_plots & !is.null(args$wallenius_tab)) {
+  if (args$make_plots && !is.null(args$wallenius_tab)) {
     pdf(args$sample_vs_wallenius_plot)
     plot(log10(results[["Wallenius"]][, 2]),
       log10(results[["Sampling"]][match(results[["Sampling"]][, 1], results[["Wallenius"]][, 1]), 2]),