Fixed a bug in run_tests.sh and updated testing_config.yaml files

pull/103/head
abhineethreddyk 2020-10-21 17:28:52 -04:00
parent 042cd14c62
commit 2a512a3d46
3 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ cp -r tests/data/raw/* data/raw
cp -r tests/data/external/* data/external cp -r tests/data/external/* data/external
echo Disabling downloading of dataset... 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 mv tmp rules/preprocessing.smk
if [ $# -eq 1 ] if [ $# -eq 1 ]

View File

@ -17,7 +17,7 @@ DATABASE_GROUP: &database_group
PARTICIPANT_FILES: # run snakemake -j1 -R parse_participant_files PARTICIPANT_FILES: # run snakemake -j1 -R parse_participant_files
PHONE_SECTION: PHONE_SECTION:
INCLUDE: TRUE INCLUDE: FALSE
PARSED_FROM: AWARE_DEVICE_TABLE #AWARE_DEVICE_TABLE or CSV_FILE 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) 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: [] IGNORED_DEVICE_IDS: []

View File

@ -17,7 +17,7 @@ DATABASE_GROUP: &database_group
PARTICIPANT_FILES: # run snakemake -j1 -R parse_participant_files PARTICIPANT_FILES: # run snakemake -j1 -R parse_participant_files
PHONE_SECTION: PHONE_SECTION:
INCLUDE: TRUE INCLUDE: FALSE
PARSED_FROM: AWARE_DEVICE_TABLE #AWARE_DEVICE_TABLE or CSV_FILE 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) 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: [] IGNORED_DEVICE_IDS: []