carissalow/rapids

Adding container information to activity recognition cause invalid config file

yikun-chi opened this issue · 2 comments

Hi,

I am trying to run the phone activity recognition feature. However, I noticed that when I put anything in the container, it causes the system to not recognize the config file with below error:
"
WorkflowError in line 2 of /rapids/Snakefile:
Config file is not valid JSON or YAML. In case of YAML, make sure to not mix whitespace and tab indentation.
File "/rapids/Snakefile", line 2, in
WorkflowError in line 2 of /rapids/Snakefile:
Config file is not valid JSON or YAML. In case of YAML, make sure to not mix whitespace and tab indentation.
File "/rapids/Snakefile", line 2, in
"

I attaced my config.yaml file (added a .log at the end since Github doesn't support uploading yaml type). In as in condition, I get the above error. But when I delete the "a" in container section, the program was able to proceed and start building jobs. The commit I am running is "d255f2de".

config.yaml.log

Thank you so much for the help!

Hi. The container for this particular sensor is divided for android and ios. Since you're using aware_csv you would need to add two csv files. Fir example

PHONE_ACTIVITY_RECOGNITION:
  CONTAINER: 
    ANDROID: my-plugin_google_activity_recognition.csv
    IOS: my-plugin_ios_activity_recognition.csv

More info in this doc page

Thanks!