Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow indexing channel names by regex #69

Merged
merged 1 commit into from
Mar 17, 2021
Merged

Conversation

ericphanson
Copy link
Member

This doesn't support nesting, e.g. samples[[r"o", "f1"], :], but we also don't support mixing unit ranges with strings, for example, because one returns a vector of channels and the other a scalar, so I think it's coherent.

@jrevels
Copy link
Member

jrevels commented Mar 17, 2021

This doesn't support nesting, e.g. samples[[r"o", "f1"], :], but we also don't support mixing unit ranges with strings, for example, because one returns a vector of channels and the other a scalar, so I think it's coherent.

Yeah, this is a strict improvement IMO and is consistent with existing behavior.

Would be cool to support something fully generic like you mentioned, though. I'll file a follow-up issue for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants