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

feature: Get channels in a ChannelList by name #3431

Merged
merged 6 commits into from
Oct 6, 2021
Merged

feature: Get channels in a ChannelList by name #3431

merged 6 commits into from
Oct 6, 2021

Conversation

yoshi74ls181
Copy link
Contributor

Implements the suggestion by @jenshnielsen in PR #3390.

Changes proposed in this pull request:

  • We can now get a channel or a new sub-ChannelList by the names of the channels using ChannelList.get_channel_by_name. This is useful, for example, when the zero-based indexing of the ChannelList leads to confusion because the channel numbers of the instrument start from one.
  • Added tests for the above feature.

Copy link
Contributor

@astafan8 astafan8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks neat :)

@jenshnielsen jenshnielsen merged commit e55d672 into microsoft:master Oct 6, 2021
@yoshi74ls181 yoshi74ls181 deleted the feature/get-channels-by-name branch October 7, 2021 02:51
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.

None yet

3 participants