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

Allow changing values of metadata labels #157

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

Conversation

evalott100
Copy link
Contributor

@evalott100 evalott100 commented Dec 19, 2024

Closes #154

@olliesilvester

Tested to work with real panda.

@evalott100 evalott100 self-assigned this Dec 19, 2024
@evalott100 evalott100 force-pushed the 154-allow-changing-values-of-metadata-labels branch from 5a67c63 to dfebd66 Compare December 19, 2024 09:09
@evalott100 evalott100 requested a review from coretl December 19, 2024 09:09
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

Attention: Patch coverage is 78.94737% with 4 lines in your changes missing coverage. Please review.

Project coverage is 91.88%. Comparing base (4d6eea0) to head (1590ad4).

Files with missing lines Patch % Lines
src/pandablocks_ioc/ioc.py 78.94% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #157      +/-   ##
==========================================
- Coverage   91.89%   91.88%   -0.01%     
==========================================
  Files           8        8              
  Lines        1419     1430      +11     
  Branches      168      171       +3     
==========================================
+ Hits         1304     1314      +10     
  Misses         82       82              
- Partials       33       34       +1     

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

@evalott100 evalott100 force-pushed the 154-allow-changing-values-of-metadata-labels branch from dfebd66 to 1590ad4 Compare December 19, 2024 09:14
@@ -871,6 +871,7 @@ def standard_responses(table_field_info, table_data_1, table_data_2):
values={
"PCAP.TRIG_EDGE": "Either",
"PULSE.DELAY.UNITS": "s",
"*METADATA.LABEL_PULSE1": "ANewLabel",
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a test that checks the label now has this value?

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.

Updating a block's label on the web-gui doesn't update the PV
2 participants