We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 517ac2a commit e6c43cbCopy full SHA for e6c43cb
neo/rawio/openephysbinaryrawio.py
@@ -205,7 +205,7 @@ def _parse_header(self):
205
raise ValueError(f'There is no possible labels for this event: {stream_name}')
206
207
# # If available, use 'states' to compute event duration
208
- if 'states' in d:
+ if 'states' in d and d["states"]:
209
states = d["states"]
210
timestamps = d["timestamps"]
211
labels = d["labels"]
0 commit comments