-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
ds_sexdata = EEGDashDataset({'dataset': 'ds005510', 'task': 'RestingState'}, target_name='sex')
tmp1 = ds_sexdata[0].getitem()
tmp2 = ds_sexdata[0].getitem()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[16], [line 1](vscode-notebook-cell:?execution_count=16&line=1)
----> [1](vscode-notebook-cell:?execution_count=16&line=1) tmp = ds_sexdata[0].getitem()
AttributeError: 'tuple' object has no attribute 'getitem'
The call for tmp1 works, but not the call for tmp2. The ds_sexdata object is being modified by the first call and transformed to a tuple.
Metadata
Metadata
Assignees
Labels
No labels