Skip to content

Preprocessing script error #6

Description

@Kristofferson777

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'

Screenshot from 2024-03-01 18-47-28
Screenshot from 2024-03-01 18-47-31
Screenshot from 2024-03-01 18-47-33
Screenshot from 2024-03-01 18-47-38
Screenshot from 2024-03-01 18-47-40

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions