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

Don't error out on description when tproc=False #307

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

jcpunk
Copy link
Contributor

@jcpunk jcpunk commented Feb 6, 2025

As I'm playing with the test code, I noticed the description function doesn't behave if there are no tprocs (soc = RFQickSoc216V1('./test_rf216_v2p2_kt.bit', clk_output=None, no_tproc=True)).

This adds guards for the obvious cases and should result in the tproc calls behaving and reporting no results.

@jcpunk jcpunk force-pushed the tproc-info-optional branch 4 times, most recently from a9511b0 to 7b054ee Compare February 6, 2025 17:49
@jcpunk jcpunk force-pushed the tproc-info-optional branch from 37af01a to 25545f5 Compare February 6, 2025 17:56
@meeg
Copy link
Collaborator

meeg commented Feb 6, 2025

Thanks, this makes sense - let me know when it's ready to merge.

@jcpunk
Copy link
Contributor Author

jcpunk commented Feb 6, 2025

I believe it is ready whenever you'd like to merge it.

@meeg meeg merged commit 518ff44 into openquantumhardware:main Feb 6, 2025
@jcpunk jcpunk deleted the tproc-info-optional branch February 6, 2025 20:12
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.

3 participants