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

Fix loading of string qubit names #926

Merged
merged 2 commits into from
Jul 5, 2024
Merged

Conversation

stavros11
Copy link
Member

Removes the annoying \" from qubit names when they are strings in the parameters.json. Also, the loading/dumping is now consistent for platforms with string qubit names and therefore we can copy new_platform parameters produced from qibocal.

Copy link

codecov bot commented Jul 5, 2024

Codecov Report

Attention: Patch coverage is 85.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 70.32%. Comparing base (2b68ee2) to head (bde4638).

Files Patch % Lines
src/qibolab/serialize.py 85.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #926      +/-   ##
==========================================
+ Coverage   70.30%   70.32%   +0.01%     
==========================================
  Files          64       64              
  Lines        6665     6679      +14     
==========================================
+ Hits         4686     4697      +11     
- Misses       1979     1982       +3     
Flag Coverage Δ
unittests 70.32% <85.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@andrea-pasquale andrea-pasquale left a comment

Choose a reason for hiding this comment

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

Thanks @stavros11, LGTM.

@andrea-pasquale andrea-pasquale merged commit d2c5f89 into main Jul 5, 2024
33 checks passed
@stavros11 stavros11 deleted the fix-string-qubits branch July 5, 2024 18:53
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