From cd46b050b2dc33b8403bc770e0235f5e220eb2aa Mon Sep 17 00:00:00 2001 From: David Williams Date: Wed, 18 Oct 2023 19:43:44 +0000 Subject: [PATCH 1/2] Tuned ZIP file filter to look for MultiQC specifically --- multiqc_extract/v1.0/unzip_extract_stats.R | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/multiqc_extract/v1.0/unzip_extract_stats.R b/multiqc_extract/v1.0/unzip_extract_stats.R index 8738b50..d5fbc5a 100644 --- a/multiqc_extract/v1.0/unzip_extract_stats.R +++ b/multiqc_extract/v1.0/unzip_extract_stats.R @@ -1,6 +1,10 @@ library(jsonlite) -zip_files <- list.files(path = ".", pattern = "\\.zip") +zip_files <- list.files(path = ".", pattern = "multiqc_data\\.zip") + +if(length(zip_files)==0){ + stop("No MultiQC ZIP files found. Exiting") +} for (zip_file in zip_files){ output_dir_name <- "output_dir" From c5a693f023f70f1cacdded9b0efefa6ebc356b81 Mon Sep 17 00:00:00 2001 From: David Williams Date: Wed, 18 Oct 2023 19:58:07 +0000 Subject: [PATCH 2/2] Removed .gitignore file --- multiqc_extract/v1.0/.gitignore | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 multiqc_extract/v1.0/.gitignore diff --git a/multiqc_extract/v1.0/.gitignore b/multiqc_extract/v1.0/.gitignore deleted file mode 100644 index 99793e2..0000000 --- a/multiqc_extract/v1.0/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.zip -*.csv -output_dir/ \ No newline at end of file