-
Notifications
You must be signed in to change notification settings - Fork 161
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
Refactor Task Internal Modules: Channels #544
Merged
charitylxy
merged 10 commits into
ni:master
from
charitylxy:users/charitylxy/refactor-task-channels
Mar 19, 2024
Merged
Refactor Task Internal Modules: Channels #544
charitylxy
merged 10 commits into
ni:master
from
charitylxy:users/charitylxy/refactor-task-channels
Mar 19, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
charitylxy
requested review from
zhindes,
maxxboehme and
bkeryan
as code owners
March 19, 2024 02:39
zhindes
approved these changes
Mar 19, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
defer to Brad
bkeryan
approved these changes
Mar 19, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this Pull Request accomplish?
This PR aims to address issue brought up in #461:
nidaqmx._task_modules
package.task.py
into a package and merge it with the internal modules contained innidaqmx._task_modules
Refactoring work will be split into 5 PRs:
_task.py
and_in_stream.py
- Refactor task.py and internal module (in_stream.py) #534_export_signal.py
,_out_stream.py
,_timing.py
- Refactor Task Internal Modules (ExportSignal, OutStream, Timing) #539_channel_collection.py
,_ai_channel_collection.py
,_ao_channel_collection.py
,_ci_channel_collection.py
,_co_channel_collection.py
,_di_channel_collection.py
,_do_channel_collection.py
- Refactor Task Internal Modules: Collections #541_channel.py
,_ai_channel.py
,_ao_channel.py
,_ci_channel.py
,_co_channel.py
,_di_channel.py
,_do_channel.py
_triggers.py
,_arm_start_trigger.py
,_handshake_trigger.py
,_pause_trigger.py
,_reference_trigger.py
,_start_trigger.py
Why should this Pull Request be merged?
In this PR to address #461, following changes have been made:
channels
totask
package and made its modules private.tests/component/_task_modules
renamed totests/component/task
.tests
.What testing has been done?
Ran
poetry run pytest
and all tests passed.