From 2f48a9ad26fa2c6904712c05d4ddb87fa0ffa85f Mon Sep 17 00:00:00 2001
From: Tomas Martinovic <tomas.martinovic@vsb.cz>
Date: Thu, 19 Sep 2024 16:58:34 +0200
Subject: [PATCH] update readme and features output name

---
 README.md          | 4 ++--
 docker-compose.yml | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 64d4007..6b7d47e 100644
--- a/README.md
+++ b/README.md
@@ -108,7 +108,7 @@ reticulate::virtualenv_install("hmch", c("-r", "requirements.txt"))
 Now You can execute the script by calling
 
 ```bash
-R -e "rmarkdown::render(get_features.Rmd)"
+R -e "rmarkdown::render(get_features.Rmd, output_file = '/output/features.html')"
 ```
 
 ## Step 2 Classification
@@ -127,7 +127,7 @@ renv::restore()
 ### Model execution
 
 ```bash
-R -e "rmarkdown::render(get_results.Rmd)"
+R -e "rmarkdown::render(get_results.Rmd, output_file = '/output/classification.html')"
 ```
 
 At the same time this file reproduce figures from an article which is now under review and later we will link it when it is published.
diff --git a/docker-compose.yml b/docker-compose.yml
index 6ce9c85..1a3d328 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -12,4 +12,4 @@ services:
       - ./data_zenodo:/zenodo_dir
       - ./output:/output
     command: ["R", "--quiet", "-e", "rmarkdown::render('get_results.Rmd', output_file = '/output/classification.html')"]
-    #command: ["R", "--quiet", "-e", "rmarkdown::render('get_features.Rmd', output_file = '/output/classification.html')"]
\ No newline at end of file
+    #command: ["R", "--quiet", "-e", "rmarkdown::render('get_features.Rmd', output_file = '/output/features.html')"]
\ No newline at end of file
-- 
GitLab