From ffde5e696182bc7c4949002cb6a5b2c3f6387844 Mon Sep 17 00:00:00 2001 From: Nejat ARINIK <nejat.arinik@inrae.fr> Date: Tue, 4 Apr 2023 14:18:44 +0200 Subject: [PATCH] update readme --- README.md | 2 ++ src/consts.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5584f56..717bfa5 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,8 @@ We illustrate the usefulness of the proposed methods with an Avian Influenza dat * Download this project from Gitlab IRSTEA * We have already put a sample dataset in the `in` folder. For the complete data, you need to retrieve the data from [Dataverse](todo). Download, unzip and place the folders into the `in/events` folder. + +* Finally, update the variable `MAIN_FOLDER` in the `src/consts.py` with your current folder absolute path. diff --git a/src/consts.py b/src/consts.py index 5c2e0d5..985e3a5 100755 --- a/src/consts.py +++ b/src/consts.py @@ -17,7 +17,8 @@ NEWS_DB_EMPRESS_I = "empres-i" # ==================================================== #MAIN_FOLDER = os.path.abspath("..") # the absolute path of the previous level -MAIN_FOLDER = "/home/nejat/eclipse/tetis/compebs" +#MAIN_FOLDER = "/home/nejat/eclipse/tetis/compebs" +MAIN_FOLDER = "<YOUR_FOLDER>" LIB_FOLDER = os.path.join(MAIN_FOLDER, "lib") DATA_FOLDER = os.path.join(MAIN_FOLDER, "data") -- GitLab