# HG changeset patch # User recetox # Date 1685006108 0 # Node ID e3acbc988e149245e2a2ed033f69f6b21078fa18 # Parent caa39ec7a18b10ab9cd06add243601d6650e9ad3 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms commit 505c3374a3e1e9aa450fcb752f2b8f87558fedbb diff -r caa39ec7a18b -r e3acbc988e14 recetox_aplcms_remove_noise.xml --- a/recetox_aplcms_remove_noise.xml Wed May 24 14:49:19 2023 +0000 +++ b/recetox_aplcms_remove_noise.xml Thu May 25 09:15:08 2023 +0000 @@ -1,4 +1,4 @@ - + filter noise and detect peaks in high resolution mass spectrometry (HRMS) profile data macros.xml @@ -39,7 +39,7 @@ - + diff -r caa39ec7a18b -r e3acbc988e14 utils.R --- a/utils.R Wed May 24 14:49:19 2023 +0000 +++ b/utils.R Thu May 25 09:15:08 2023 +0000 @@ -41,9 +41,9 @@ save_parquet_collection <- function(feature_tables, sample_names, subdir) { dir.create(subdir) - for (i in seq_len(length(feature_tables))) { - filename <- file.path(subdir, paste0(subdir, "_", sample_names[i], ".parquet")) - feature_table <- as.data.frame(feature_tables[[i]]) + for (i in seq_len(length(table$feature_tables))) { + filename <- file.path(subdir, paste0(sample_names[i], ".parquet")) + feature_table <- as.data.frame(table$feature_tables[[i]]) feature_table <- save_sample_name(feature_table, sample_names[i]) arrow::write_parquet(feature_table, filename) }