From 83ccfb751ad8f71663d637c6d3e82576feea09d6 Mon Sep 17 00:00:00 2001 From: Awa Synthia Date: Wed, 20 Nov 2024 05:54:31 +0200 Subject: [PATCH] update generate function Signed-off-by: Awa Synthia --- inst/report/scripts/generate_report.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inst/report/scripts/generate_report.R b/inst/report/scripts/generate_report.R index 6f7fcaef..06128453 100644 --- a/inst/report/scripts/generate_report.R +++ b/inst/report/scripts/generate_report.R @@ -10,7 +10,7 @@ getCaseStudyReport <- function(pathogen = NULL, drug = NULL, ...) { cat("\033[0m") cat("\033[1;32m") - cat("\n>>>>> Case Study Report Generated <<<<<\n") + cat("\n>>>>> Case Study Report Generation started... <<<<<\n") cat("\033[0m") # Step 1: Fetch the FASTA sequences of the given pathogen and drug @@ -26,7 +26,7 @@ getCaseStudyReport <- function(pathogen = NULL, drug = NULL, ...) { message("FASTA file downloaded, running analysis...") # Pass the file to runAnalysis function - runAnalysis(file_paths = list(fasta = fasta_file)) + runAnalysis(file_paths = list(fasta = fasta_file), ...) message("Case study report completed") }