-
Notifications
You must be signed in to change notification settings - Fork 13
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
Adds except for caget failure #576
Conversation
for more information, see https://pre-commit.ci
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.
This looks fine to me for catching in the check_state
process, but seeing bias steps occasionally see similar behavior (https://github.com/simonsobs/daq-discussions/discussions/59) makes me wonder if this handling is needed throughout. Maybe that goes in a separate PR, but I'd be interested to hear your thoughts.
Also, this adds pyepics
as a direct dependency of socs
when dealing with the pysmurf controller agent. We should add it to setup.py
. I'm happy to do that bit if you'd like. Either way it should be done before merging.
Ya... I think we want other operations to fail though in the event of an epics failure, where we don't really ever want the pyepics was already a dependency through sodetlib and pysmurf, so I don't think this actually adds any new dependencies... Dependencies for this agent were all handled because it is run in its own docker that is built on the so-smurf stack, rather than through setup.py |
Right, but now that we're directly importing it in socs code it makes sense to track here, rather than rely on it being pulled in by another dep. I added it with the needed docs in c7792e6. |
If that's the case, should we also uncomment the pysmurf, sodetlib, and sotodlib reqs? |
In the |
Ok, I'm fine w/ merging this but am still pretty confused by it. Maybe it makes sense for tracking / docs, but
will never really be sufficient for running the agent outside of the docker |
True, that's why there's the dependencies section on the agent page: https://socs--576.org.readthedocs.build/en/576/agents/pysmurf-controller.html#dependencies This is pointed to from the installation page. I agree it's not ideal. But the best solution is to get those packages to publish to PyPI. |
* Adds except for caget failure * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add pyepics as dependency for pysmurf-controller agent --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Brian Koopman <[email protected]>
Adds exception for epics channel access get failure in pysmurf-controller check-state. I believe this should make the check-state function more robust by preventing the behavior seen in #575 .
Description
Excepts caget failures in check_state
Motivation and Context
#575
How Has This Been Tested?
Not tested yet
Types of changes
Checklist: