changeset 1:ed9c49c6c6e1 draft

"planemo upload for repository https://forgemia.inra.fr/redelac commit c398d524dabc89c0979403d2ff62970fc6c2b404"
author siwaa
date Wed, 07 Feb 2024 11:13:54 +0000
parents 7f8f474a7bd7
children aa575691d6f0
files redelacSticsTool.R redelacSticsTool.xml
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/redelacSticsTool.R	Tue Feb 06 09:21:00 2024 +0000
+++ b/redelacSticsTool.R	Wed Feb 07 11:13:54 2024 +0000
@@ -103,7 +103,9 @@
 
 foreach (i = ids,
          .options.future = list(packages = c("foreach", "SticsRFiles"))) %dordopar% {
-           gen_usms_xml(file = file.path(workspace, paste0("usms__", i, ".xml")),
+	   usmsXfolder =  file.path(workspace, paste0("UXF__", i))
+	   dir.create(usmsXfolder)
+           gen_usms_xml(file = file.path(usmsXfolder, paste0("usms__", i, ".xml")),
                         param_df = usms_param[i:min(i + chunckSize - 1, nbUSMs),])
          }
 
@@ -120,7 +122,7 @@
              javastics = javastics_path,
              workspace = workspace,
              out_dir = txt_path,
-             usms_file = paste0("usms__", i, ".xml"),
+             usms_file = paste0("UXF__", i, "/usms__", i, ".xml"),
              redelac = redelac,
              parallel = parallel,
              verbose = FALSE
--- a/redelacSticsTool.xml	Tue Feb 06 09:21:00 2024 +0000
+++ b/redelacSticsTool.xml	Wed Feb 07 11:13:54 2024 +0000
@@ -1,4 +1,4 @@
-<tool id="redelacSticsTool" name="redelacSticsTool" version="1.0.0">
+<tool id="redelacSticsTool" name="redelacSticsTool" version="1.0.1">
   <description>to run Stics for REDELAC</description>
   <requirements>
     <container type="singularity">docker://registry.forgemia.inra.fr/redelac/redelac-toolbox/sticsrpacks:1cadd3c67d29b07acb658836292f286e62922c5b</container>