coganlab / IEEG_Pipelines

A repo of current preprocessing methods for the Cogan Lab
https://ieeg-pipelines.readthedocs.io/en/latest/
MIT License
4 stars 2 forks source link

gen_labels indexing issue #117

Open ncl24 opened 4 months ago

ncl24 commented 4 months ago

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

Cell In[8], line 1 gen_labels(info, short, picks=prod_names)

File ~\AppData\Local\anaconda3\envs\ieeg\Lib\site-packages\ieeg\viz\mri.py:749 in gen_labels label = labels.T[p].T

File ~\AppData\Local\anaconda3\envs\ieeg\Lib\site-packages\pandas\core\frame.py:3893 in getitem indexer = self.columns.get_loc(key)

File ~\AppData\Local\anaconda3\envs\ieeg\Lib\site-packages\pandas\core\indexes\base.py:3798 in get_loc raise KeyError(key) from err

KeyError: 'LFO3'