diff lib.r @ 13:97e2c754e81f draft

planemo upload commit 00bda51a5454373957a0b75024d9fc4282743c4d
author lecorguille
date Thu, 30 Mar 2017 09:02:43 -0400
parents ddce949e4b35
children 018f73a9e98e
line wrap: on
line diff
--- a/lib.r	Tue Mar 28 10:51:55 2017 -0400
+++ b/lib.r	Thu Mar 30 09:02:43 2017 -0400
@@ -225,9 +225,7 @@
 }
 
 # This function get the raw file path from the arguments
-getRawfilePathFromArguments <- function(listArguments) {
-    zipfile = NULL
-    singlefile = NULL
+getRawfilePathFromArguments <- function(singlefile, zipfile, listArguments) {
     if (!is.null(listArguments[["zipfile"]]))           zipfile = listArguments[["zipfile"]]
     if (!is.null(listArguments[["zipfilePositive"]]))   zipfile = listArguments[["zipfilePositive"]]
     if (!is.null(listArguments[["zipfileNegative"]]))   zipfile = listArguments[["zipfileNegative"]]