Open scott-huberty opened 8 hours ago
I submitted a bug fix to MNE, but still it would be annoying for us to have to pin to the development version of MNE.
Maybe I can inspect the EDF files and just fix the root of the issue. It just has something to do with the participant info in the EDF file.
load_ll_derivative
fails to load the Pylossless derivatives that we previously created and saved topylossless/assets
:Assuming you are in the
Pylossless
repository directoryThe error emanates from MNE (I am using MNE version
1.8.0
).Since this is not coming up in our tests, I imagine that this is specific to the asset files. But since these files are used to demo the dashboard, until we fix it, the dashboard demo won't work.
stack trace
``` --------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[1], line 11 9 config = ll.config.Config().load_default() 10 pipeline = ll.LosslessPipeline(config=config) ---> 11 pipeline.load_ll_derivative(bpath) File ~/devel/repos/pylossless/pylossless/pipeline.py:1248, in LosslessPipeline.load_ll_derivative(self, derivatives_path) 1246 if not isinstance(derivatives_path, BIDSPath): 1247 derivatives_path = get_bids_path_from_fname(derivatives_path) -> 1248 self.raw = mne_bids.read_raw_bids(derivatives_path) 1249 bpath = derivatives_path.copy() 1250 # Load ICAs File