From 86941369bec1715e4b1af9eb43236ffb28268bec Mon Sep 17 00:00:00 2001 From: corentinchoisy Date: Fri, 31 May 2024 12:24:26 +0200 Subject: [PATCH] File structure script --- README.md | 2 +- prepare_file_structure.sh | 61 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 prepare_file_structure.sh diff --git a/README.md b/README.md index d1c6b9f..e87ff1d 100644 --- a/README.md +++ b/README.md @@ -50,4 +50,4 @@ This repository contains all code files related to our ROSALI/Resiuals RCT simul **OR** -1. Run **autorun.sh** (by default, will take multiple weeks to run. Please modify to run in parrallel if necessary) +1. [BASH ONLY] Run **prepare_file_structure.sh** (only on first run) and **autorun.sh** (by default, will take multiple weeks to run. Please modify to run in parrallel if necessary) diff --git a/prepare_file_structure.sh b/prepare_file_structure.sh new file mode 100644 index 0000000..b80d388 --- /dev/null +++ b/prepare_file_structure.sh @@ -0,0 +1,61 @@ +echo "==================================================================================================" +echo Preparing file structure. Please run at the root of the Simulation folder +echo "==================================================================================================" + +mkdir Data +mkdir Analysis + +cd Data +mkdir DIF +mkdir NoDIF +cd - +cd Data/DIF +mkdir N50 +mkdir N100 +mkdir N200 +mkdir N300 +cd - +cd Data/NoDIF +mkdir N50 +mkdir N100 +mkdir N200 +mkdir N300 +cd - +cd Analysis +mkdir DIF +mkdir NoDIF +mkdir RESALI +mkdir ROSALI-DIF +cd - +cd Analysis/DIF +mkdir N50 +mkdir N100 +mkdir N200 +mkdir N300 +cd - +cd Analysis/NoDIF +mkdir N50 +mkdir N100 +mkdir N200 +mkdir N300 +cd - +cd Analysis/ROSALI-DIF +mkdir N50 +mkdir N100 +mkdir N200 +mkdir N300 +mkdir log +cd - +cd Analysis/RESALI +mkdir Detection +mkdir Detection_data +mkdir Results +cd - +cd Analysis/RESALI/Results +mkdir N50 +mkdir N100 +mkdir N200 +mkdir N300 +cd - + +echo "DONE"