-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add get_field and set_field methods to records #140
Conversation
8014c2f
to
0dca326
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #140 +/- ##
==========================================
+ Coverage 87.56% 87.73% +0.17%
==========================================
Files 14 14
Lines 1005 1019 +14
==========================================
+ Hits 880 894 +14
Misses 125 125 ☔ View full report in Codecov by Sentry. |
36f7f66
to
9c56552
Compare
These allow access to all EPICS attributes on a record. Also add documentation and tests
9c56552
to
a9fa7f7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
If you need to set a field's value before that, set it directly as an attribute | ||
on the record e.g. ``my_record.EGU``. (This will not work after the IOC is | ||
initialized) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a shame that the same documentation has to be repeated verbatim here, but as discussed, the fix involves quite a big rework of this document. If anything, this is a job for another time.
8775a88
to
eb4febb
Compare
This is required due to a side-effect of making the /stable endpoint also redirect to the GHPages version of the docs - the objects.inv link does not correctly survive the redirect.
eb4febb
to
906e058
Compare
These allow access to all EPICS attributes on a record.
Also add documentation and tests
Closes #139