Skip to content

Add more explicit channel atttributes - #7641

Closed
Jens Hedegaard Nielsen (jenshnielsen) wants to merge 3 commits into
microsoft:mainfrom
jenshnielsen:jenshnielsen/add_channel_type
Closed

Add more explicit channel atttributes#7641
Jens Hedegaard Nielsen (jenshnielsen) wants to merge 3 commits into
microsoft:mainfrom
jenshnielsen:jenshnielsen/add_channel_type

Conversation

@jenshnielsen

Copy link
Copy Markdown
Collaborator

Work towards more strongly typed instruments

Comment thread src/qcodes/instrument_drivers/rohde_schwarz/ZNB.py Outdated
@codecov

codecov Bot commented Nov 13, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 3.44828% with 28 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.74%. Comparing base (b41acfa) to head (2b33205).
⚠️ Report is 18 commits behind head on main.

Files with missing lines Patch % Lines
src/qcodes/instrument/channel.py 0.00% 21 Missing ⚠️
src/qcodes/instrument_drivers/rohde_schwarz/ZNB.py 0.00% 3 Missing ⚠️
...ment_drivers/Minicircuits/_minicircuits_rc_spdt.py 0.00% 2 Missing ⚠️
src/qcodes/instrument_drivers/tektronix/TPS2012.py 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7641      +/-   ##
==========================================
- Coverage   59.78%   59.74%   -0.05%     
==========================================
  Files         352      352              
  Lines       31659    31681      +22     
==========================================
  Hits        18927    18927              
- Misses      12732    12754      +22     

☔ 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.

) -> MultiChannelInstrumentParameter | Callable[..., None] | InstrumentModuleType:
def multi_parameter(
self: Self, name: str
) -> MultiChannelInstrumentParameter[InstrumentModuleType]:

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Need to add test coverage for this code + changelog

@jenshnielsen

Copy link
Copy Markdown
Collaborator Author

Moved the pr here #7686 to experiment with copilot

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