diff --git a/example_profile/example_config.yaml b/example_profile/example_config.yaml index b78a731d..a7939096 100644 --- a/example_profile/example_config.yaml +++ b/example_profile/example_config.yaml @@ -7,7 +7,7 @@ TIMEZONE: &timezone America/New_York # See https://www.rapids.science/setup/configuration/#participant-files -PIDS: [t01, t02] +PIDS: [example01, example02] # See https://www.rapids.science/setup/configuration/#automatic-creation-of-participant-files CREATE_PARTICIPANT_FILES: diff --git a/rules/preprocessing.smk b/rules/preprocessing.smk index 13aa7fcd..15713020 100644 --- a/rules/preprocessing.smk +++ b/rules/preprocessing.smk @@ -13,7 +13,7 @@ rule create_example_participant_files: output: expand("data/external/participant_files/{pid}.yaml", pid = ["example01", "example02"]) shell: - "echo 'PHONE:\n DEVICE_IDS: [a748ee1a-1d0b-4ae9-9074-279a2b6ba524]\n PLATFORMS: [android]\n LABEL: test01\n START_DATE: 2020/04/23\n END_DATE: 2020/05/04\nFITBIT:\n DEVICE_IDS: [a748ee1a-1d0b-4ae9-9074-279a2b6ba524]\n LABEL: test01\n START_DATE: 2020/04/23\n END_DATE: 2020/05/04\n' >> ./data/external/participant_files/example01.yaml && echo 'PHONE:\n DEVICE_IDS: [13dbc8a3-dae3-4834-823a-4bc96a7d459d]\n PLATFORMS: [ios]\n LABEL: test02\n START_DATE: 2020/04/23\n END_DATE: 2020/05/04\nFITBIT:\n DEVICE_IDS: [13dbc8a3-dae3-4834-823a-4bc96a7d459d]\n LABEL: test02\n START_DATE: 2020/04/23\n END_DATE: 2020/05/04\n' >> ./data/external/participant_files/example02.yaml" + "echo 'PHONE:\n DEVICE_IDS: [a748ee1a-1d0b-4ae9-9074-279a2b6ba524]\n PLATFORMS: [android]\n LABEL: test01\n START_DATE: 2020-04-23\n END_DATE: 2020-05-04\nFITBIT:\n DEVICE_IDS: [a748ee1a-1d0b-4ae9-9074-279a2b6ba524]\n LABEL: test01\n START_DATE: 2020-04-23\n END_DATE: 2020-05-04\n' >> ./data/external/participant_files/example01.yaml && echo 'PHONE:\n DEVICE_IDS: [13dbc8a3-dae3-4834-823a-4bc96a7d459d]\n PLATFORMS: [ios]\n LABEL: test02\n START_DATE: 2020-04-23\n END_DATE: 2020-05-04\nFITBIT:\n DEVICE_IDS: [13dbc8a3-dae3-4834-823a-4bc96a7d459d]\n LABEL: test02\n START_DATE: 2020-04-23\n END_DATE: 2020-05-04\n' >> ./data/external/participant_files/example02.yaml" rule create_participants_files: input: