-
Notifications
You must be signed in to change notification settings - Fork 5
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
Make pv names consistent with web gui names #26
Make pv names consistent with web gui names #26
Conversation
6e2f9bc
to
8efd743
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## dev #26 +/- ##
==========================================
+ Coverage 83.34% 90.23% +6.88%
==========================================
Files 7 7
Lines 1075 1096 +21
Branches 0 173 +173
==========================================
+ Hits 896 989 +93
+ Misses 179 76 -103
- Partials 0 31 +31
☔ View full report in Codecov by Sentry. |
001c3da
to
0474cef
Compare
Changed the CI to run python 3.10/3.11
to use waits, changed the mocked_panda_standard_responses to wait until the MockedAsyncioClient is set up before proceeding with the test.
to allow bobfiles time to be written in the subprocess. Changed to pvi>=0.5 and python>=3.10
0474cef
to
b921eb1
Compare
bcfe9f8
to
a3a2623
Compare
a3a2623
to
eb0ea2a
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.
The code changes all look fine to me, although note I don't know much about PVI.
There's a few bits I think need cleaning up regarding testing. If I understand it correctly, we now have no tests that include numbered blocks. I think we need at least one, just to prove that mechanism works.
On a related note, have you seen the discussions happening in Ophyd at the moment regarding similar changing of block names? See this comment. |
Yep; just to chime in, I do think it makes more sense for the PandA to have either names and numbers on their blocks or just names, e.g. PCAP but not, for example, sfp2_sync_in as seems to be happening here In fact if you have a look at that whole thread it looks like there's a mismatch between the panda blocks on malcolm and what we see via PVI. And I wonder if we can explain why 🤔 |
81e8ece
to
f20a05b
Compare
I'll chat to @coretl about what we want our behaviour to be. In this PR I've caused the softioc to throw an error if the user tries to have a number in the block name (rather than passing |
…oing to clean it up before we're ready to merge
2e0e19b
to
a3861ce
Compare
To update this ticket, the outcome was that we should never have both |
3763ec7
to
68639ee
Compare
68639ee
to
c13d7aa
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! A couple of minor nitpicks but nothing show stopping.
A copy of #18, but branched off of the improved testing branch.