Skip to content

Commit

Permalink
update generate function
Browse files Browse the repository at this point in the history
Signed-off-by: Awa Synthia <[email protected]>
  • Loading branch information
awasyn committed Nov 20, 2024
1 parent 16e9571 commit 83ccfb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/report/scripts/generate_report.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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")
}
Expand Down

0 comments on commit 83ccfb7

Please sign in to comment.