From fff676fce879b25698cb6c42eb4f727c2b597521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A9r=C3=A9nice=20Batut?= Date: Thu, 1 Aug 2024 17:34:50 +0200 Subject: [PATCH] Add mkdir for community result folder --- bin/get_community_tutorials.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/get_community_tutorials.sh b/bin/get_community_tutorials.sh index 5546fb3e..7bd937f9 100644 --- a/bin/get_community_tutorials.sh +++ b/bin/get_community_tutorials.sh @@ -18,9 +18,10 @@ else if [[ -d "$com_data_fp" && ! -L "$com_data_fp" ]]; then community=`basename "$com_data_fp"` - echo "$community"; + echo "$community" - if [[ -f "data/communities/$community/tutorial_tags" && -f "results/$community/tutorials.tsv" ]]; then + if [[ -f "data/communities/$community/tutorial_tags" ]]; then + mkdir -p "results/$community/" python bin/extract_gtn_tutorials.py \ filter \