Richard Höchenberger
Richard Höchenberger
I'll make a PR and we can then discuss & iterate from there
Oh well it wouldn't be fun if it were easy, right? - https://github.com/mne-tools/mne-python/issues/8962
Hello @behinger, I'm not entirely sure about the intended use case here. Are you saying you'd like to have a way to essentially retrieve everything stored in `_events.tsv`? If so,...
MNE Annotations are essentially a bunch of lists containing onset, duration, and label or description of all annotated segments. Theoretically, you / we could generate annotations for all columns in...
Thanks for linking to the example dataset! I will take a look at this. 🤔
@behinger I'm a little busy these days, please feel free to ping me sometime later this week should you not see any activity here :)
Definitely +10 on having type annotations, I've been using them in my own small projects for two years now or so and I love them. Only annoying things: - if...
> * if one wants to be exhaustive and has several logical ORs, it becomes a little ugly to read sometimes (but this is rare) I just remembered that the...
> `Optional[dict[list[Union[int, str]]]]` ... which probably means that I should just have introduced some new types :)
> We could also incorporate [mypy](http://mypy-lang.org/) in the CI? One step after the other ;) But yes, this might be useful sometime