NSLS-II / lsdc

LSDC - Life Sciences Data Collection
https://nsls-ii.github.io/lsdc
BSD 3-Clause "New" or "Revised" License
3 stars 14 forks source link

GUI validation #16

Open JunAishima opened 3 years ago

JunAishima commented 3 years ago

Users attempt to put in values that make no sense. Therefore, the beamline scientists have defined values for the two beamlines for fields including:

JunAishima commented 3 years ago

fix implemented in https://github.com/NSLS-II/lsdc/tree/add_gui_validation and undergoing testing

JunAishima commented 3 years ago

"By defining the number of digits shown in the QLineEdit, the fix should solve the problem of floating point values being shown as values with very tiny differences from their shown value - 0.2 vs. 0.19999999....873 - which gets truncated to show only the far right insignificant digits." - will move this into a separate ticket. have started trying things but no solution yet