I'm not sure how to set up the data properly in order to get the data to be preprocessed correctly.
This is the error I am receiving when running the preprocess.ipynb:
KeyError Traceback (most recent call last)
Cell In[6], line 34
32 trial = os.path.splitext(forcefile)[0].split(bar)[-1]
33 motion = trial[14:-2]
---> 34 if motiontype[motion] == 'ballet_high':
35 continue
36 if participant == 's001' and motion == 'idling':
KeyError: 's001/ballethighleg'





I'm not sure how to set up the data properly in order to get the data to be preprocessed correctly.
This is the error I am receiving when running the preprocess.ipynb:
KeyError Traceback (most recent call last)
Cell In[6], line 34
32 trial = os.path.splitext(forcefile)[0].split(bar)[-1]
33 motion = trial[14:-2]
---> 34 if motiontype[motion] == 'ballet_high':
35 continue
36 if participant == 's001' and motion == 'idling':
KeyError: 's001/ballethighleg'