From 2a512a3d46d3d16d611c78d73196a4431eb7ea24 Mon Sep 17 00:00:00 2001 From: abhineethreddyk Date: Wed, 21 Oct 2020 17:28:52 -0400 Subject: [PATCH] Fixed a bug in run_tests.sh and updated testing_config.yaml files --- tests/scripts/run_tests.sh | 2 +- tests/settings/frequency/testing_config.yaml | 2 +- tests/settings/periodic/testing_config.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh index 1a5498cc..78d31b25 100755 --- a/tests/scripts/run_tests.sh +++ b/tests/scripts/run_tests.sh @@ -64,7 +64,7 @@ cp -r tests/data/raw/* data/raw cp -r tests/data/external/* data/external echo Disabling downloading of dataset... -sed -e '27,39 s/^/#/' -e 's/rules.download_dataset.output/"data\/raw\/\{pid\}\/\{sensor\}_raw\.csv"/' rules/preprocessing.smk > tmp +sed -e '27,51 s/^/#/' -e 's/rules.download_dataset.output/"data\/raw\/\{pid\}\/\{sensor\}_raw\.csv"/' rules/preprocessing.smk > tmp mv tmp rules/preprocessing.smk if [ $# -eq 1 ] diff --git a/tests/settings/frequency/testing_config.yaml b/tests/settings/frequency/testing_config.yaml index c5c8303e..88dd7218 100644 --- a/tests/settings/frequency/testing_config.yaml +++ b/tests/settings/frequency/testing_config.yaml @@ -17,7 +17,7 @@ DATABASE_GROUP: &database_group PARTICIPANT_FILES: # run snakemake -j1 -R parse_participant_files PHONE_SECTION: - INCLUDE: TRUE + INCLUDE: FALSE PARSED_FROM: AWARE_DEVICE_TABLE #AWARE_DEVICE_TABLE or CSV_FILE PARSED_SOURCE: *database_group # DB credentials group or CSV file path. If CSV file, it should have: device_id, pid (optional), label (optional), start_date (optional), end_date (optional) IGNORED_DEVICE_IDS: [] diff --git a/tests/settings/periodic/testing_config.yaml b/tests/settings/periodic/testing_config.yaml index 481b9bc8..d61fc19a 100644 --- a/tests/settings/periodic/testing_config.yaml +++ b/tests/settings/periodic/testing_config.yaml @@ -17,7 +17,7 @@ DATABASE_GROUP: &database_group PARTICIPANT_FILES: # run snakemake -j1 -R parse_participant_files PHONE_SECTION: - INCLUDE: TRUE + INCLUDE: FALSE PARSED_FROM: AWARE_DEVICE_TABLE #AWARE_DEVICE_TABLE or CSV_FILE PARSED_SOURCE: *database_group # DB credentials group or CSV file path. If CSV file, it should have: device_id, pid (optional), label (optional), start_date (optional), end_date (optional) IGNORED_DEVICE_IDS: []