# HG changeset patch
# User recetox
# Date 1685016513 0
# Node ID ebca18e223bf21e5a5eb0e893f60d4543a2344e8
# Parent  477b5144a422e1f69e0c16555fd0111bba5c2bde
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 775afc79d12e680bb26496a2626d1855db9cddc7

diff -r 477b5144a422 -r ebca18e223bf utils.R
--- a/utils.R	Thu May 25 09:14:23 2023 +0000
+++ b/utils.R	Thu May 25 12:08:33 2023 +0000
@@ -41,9 +41,9 @@
 
 save_parquet_collection <- function(feature_tables, sample_names, subdir) {
     dir.create(subdir)
-    for (i in seq_len(length(table$feature_tables))) {
+    for (i in seq_len(length(feature_tables))) {
       filename <- file.path(subdir, paste0(sample_names[i], ".parquet"))
-      feature_table <- as.data.frame(table$feature_tables[[i]])
+      feature_table <- as.data.frame(feature_tables[[i]])
       feature_table <- save_sample_name(feature_table, sample_names[i])
       arrow::write_parquet(feature_table, filename)
     }