From 7837890bb3da4654bd50497aa476f81d345d109d Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Wed, 24 Jul 2024 16:19:21 +0300 Subject: [PATCH] Generate QR info script to work with ReproNim session structure from https://github.com/ReproNim/reproflow-data-sync, #96 --- Parsing/generate_qrinfo.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Parsing/generate_qrinfo.sh b/Parsing/generate_qrinfo.sh index a01968a..af68730 100755 --- a/Parsing/generate_qrinfo.sh +++ b/Parsing/generate_qrinfo.sh @@ -40,9 +40,9 @@ do echo "Generating tmp *.mkv file $tmp_mkv_file..." ffmpeg -i $file -an -c copy $tmp_mkv_file ./parse_wQR.py --log-level $LOG_LEVEL $tmp_mkv_file >$OUT_DIR/$base_name.qrinfo.jsonl 2>$OUT_DIR/$base_name.qrinfo.log - if [ -e "tmp_mkv_file" ]; then - echo "Deleting tmp *.mkv file: tmp_mkv_file" - rm "$out_file" + if [ -e "$tmp_mkv_file" ]; then + echo "Deleting tmp *.mkv file: $tmp_mkv_file" + rm "$tmp_mkv_file" fi counter=$((counter + 1))