Repository 'recetox_aplcms_compute_clusters'
hg clone https://toolshed.g2.bx.psu.edu/repos/recetox/recetox_aplcms_compute_clusters

Changeset 4:15aae2bfa67d (2023-05-25)
Previous changeset 3:a054eae3123c (2023-05-25) Next changeset 5:60a09c4fa7a0 (2023-06-22)
Commit message:
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 775afc79d12e680bb26496a2626d1855db9cddc7
modified:
recetox_aplcms_compute_clusters.xml
utils.R
b
diff -r a054eae3123c -r 15aae2bfa67d recetox_aplcms_compute_clusters.xml
--- a/recetox_aplcms_compute_clusters.xml Thu May 25 09:14:38 2023 +0000
+++ b/recetox_aplcms_compute_clusters.xml Thu May 25 12:08:49 2023 +0000
b
@@ -1,4 +1,4 @@
-<tool id="recetox_aplcms_compute_clusters" name="recetox-aplcms - compute clusters" version="@TOOL_VERSION@+galaxy0">
+<tool id="recetox_aplcms_compute_clusters" name="recetox-aplcms - compute clusters" version="@TOOL_VERSION@+galaxy1">
     <description>compute clusters of mz and rt across samples and assign cluster IDs to individual features</description>
     <macros>
         <import>macros.xml</import>
b
diff -r a054eae3123c -r 15aae2bfa67d utils.R
--- a/utils.R Thu May 25 09:14:38 2023 +0000
+++ b/utils.R Thu May 25 12:08:49 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)
     }