Skip to content

Conversation

@samantha-ho
Copy link
Contributor

@samantha-ho samantha-ho commented Jun 4, 2025

This PR updates the detect_shape_of_measurement and _register_parameter utility functions used to infer the correct shape of Parameters, and particularly ParameterWithSetpoints, to use register_name instead of full_name. Since these parameters are registered by register_name, this mismatch can cause datasets to fail to infer or use the data shape correctly.

Closes #7198

@samantha-ho samantha-ho requested a review from a team as a code owner June 4, 2025 15:14
@codecov
Copy link

codecov bot commented Jun 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.94%. Comparing base (9d34a0b) to head (bbf4cc2).
Report is 24 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7199   +/-   ##
=======================================
  Coverage   59.94%   59.94%           
=======================================
  Files         342      342           
  Lines       31517    31517           
=======================================
  Hits        18893    18893           
  Misses      12624    12624           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jenshnielsen jenshnielsen added this pull request to the merge queue Jun 10, 2025
Merged via the queue into microsoft:main with commit 83ac422 Jun 10, 2025
16 checks passed
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.

Bug: Qcodes datasets using ParameterWithSetpoints are not using register_name correctly

2 participants