-
Notifications
You must be signed in to change notification settings - Fork 14
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
Added default text for raster step #357
Conversation
It would be better to fix the validation/error issue - can you show the exception here? |
The exception happens here: https://github.com/NSLS-II/lsdc/blob/cfdd2a0fc61e54a593b398673dc5164f8fdffd21/gui/control_main.py#L4073 This is within the function that creates a request dictionary. The function assumes that all text boxes are filled otherwise will throw an exception. The self.beamWidth_ledit and self.beamHeight_ledit text boxes were most likely part of the GUI, but replaced with rasterStepEdit. Unfortunately the textboxes were not properly removed, hidden from the GUI, instead used as variables within the code. So when rasterStepEdit is changed it triggers I think removing these text boxes will be a more involved PR as its being used in multiple places |
I have made a new issue where we will handle this - #358 We will handle this properly in the future, but you need this to go forward. |
Added a default value for raster step since if you add any other collection at startup, LSDC will complain that not all parameters are filled even though the added collection has nothing to do with rasters