-
Notifications
You must be signed in to change notification settings - Fork 26
Refactor doNds #193
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
Merged
Merged
Refactor doNds #193
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
3ab456c
Remove unnecessary `output` parameter list
Dominik-Vogel 0ae765c
Extract `_process_params_meas`
Dominik-Vogel d684bf2
Extract `_set_write_period`
Dominik-Vogel 07bd459
Inline data_id
Dominik-Vogel 77054f2
Add missing check if parameter
Dominik-Vogel 77f822c
Extract `_register_parameters`
Dominik-Vogel 8639539
Extract `_register_actions`
Dominik-Vogel 36d4b82
Absorb `do_plot` into plotting function
Dominik-Vogel d88c595
Rearrage preparation of Measurement
Dominik-Vogel a1807f2
Extract keyboard interrupts
Dominik-Vogel be478a1
Annotate with float instead of Number
Dominik-Vogel 56ad96c
Fix function arg format
Dominik-Vogel 7c99bcc
Add more type hints
Dominik-Vogel ce2be03
Merge branch 'master' into refactor_doNds
GateBuilder 96a0aff
Merge branch 'master' into refactor_doNds
GateBuilder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
@Dominik-Vogel is it possible that we can handle array parameters separately to ensure they get saved as blobs in the database. This was the main reason this PR #166 exists and why most transmon people have been working out of that branch for almost a year.
The doNd functions in this form are completely unusable when doing anything with an arrayparameter (the overhead for saving is way too large).
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.
Good point! Thank you for notifying us!
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.
We will consider these in a new pr, to keep this one pure refactoring.
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.
@GateBuilder can you work on a test for this?