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

[WIP] Reuse existing instrument when recreating a new instrument with same name and type #4038

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jenshnielsen
Copy link
Collaborator

@jenshnielsen jenshnielsen commented Mar 22, 2022

This should remove one of the most common errors for users working interactively with qcodes

Obviously still a few issues:

  • See inline comment about checking that this is the same physical instrument.
  • Type checking could be cleaner
  • New tests and adaptions of old tests
  • Add bolean for recreate true - false

Now that this implements everything that find_or_create_instrument does
we can also remove the use of than + perhaps deprecate it.

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.

1 participant