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

Changes from NSLS-II SIX for clearer error messages about timeouts #779

Closed
wants to merge 2 commits into from

Conversation

mrakitin
Copy link
Member

@mrakitin mrakitin commented Dec 7, 2019

This is a very volatile, work-in-progress PR to the v1.3.x branch, to save the state of the code used at the NSLS-II SIX beamline in the recent attempts to mitigate the random timeout errors. See NSLS-II-SIX/profile_collection#24 (and NSLS-II-SIX/profile_collection#20?) for the context.

if enums:
# convert enum values to strings if necessary first:
if not isinstance(a, str):
a = enums[a]
if not isinstance(b, str):
b = enums[b]
# then compare the strings
return a == b
ret = a == b
if ret and signal_name == 'rixscam_hdf5_capture':
Copy link
Member Author

Choose a reason for hiding this comment

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

I know, this should be parametrized or removed.

@klauer
Copy link
Member

klauer commented Apr 3, 2020

Is this worthwhile to keep open @mrakitin?

@mrakitin
Copy link
Member Author

mrakitin commented Apr 6, 2020

@klauer, I think this can be closed, but I'd like to keep the branch around. The fix is not general enough, so in case of a follow-up update there will be a separate PR.

@mrakitin mrakitin closed this Apr 6, 2020
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.

2 participants