-
Notifications
You must be signed in to change notification settings - Fork 46
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
dials.image_viewer
does not update results of bottom buttons for series of '.expt'
#1734
Comments
OK interesting it worked OK for me there - what platform was this? |
Also: what was the command-line used to start |
hmm. I am on Ubuntu 20.04. |
Verified & reproduced thank you This appears to be a bug in the implementation of the buttons - if you load an image which is not the first one, then select one of the buttons, you end up with the processed version of the 1st image. This would explain why it does not update when you move from one to the next. |
Correction It shows the first image you selected not image-view with over and over again, not the first image. To reproduce:
|
OK, I found it 🙂 |
Was broken anyway for stills as image.index is always 0 Fixes #1734 Removed now redundant request dict as well
By simply computing a hash of the settings including the imageset this still fixes #1734 whilst leaving #1213 fixed. Changing a request dict to a simple hash of a tuple of the settings stops a future reader from working through the code looking for where that request is sent to. Also named the hash the same as the object which is hashed, to make the connection clearer.
By simply computing a hash of the settings including the imageset this still fixes #1734 whilst leaving #1213 fixed. Changing a request dict to a simple hash of a tuple of the settings stops a future reader from working through the code looking for where that request is sent to. Also named the hash the same as the object which is hashed, to make the connection clearer.
When loading a series of .expt in
dials.image_viewer
the buttons at the bottom (mean... threshold) don't seem to update results when moving through the images.If I use instead the raw files (
dials.image_viewer image_*.cbf
), the results of buttons at the bottom update as expected.The text was updated successfully, but these errors were encountered: