More on Sample Grid and other changes (see comment)
Created by: mguijarr
Changes / fixes:
- in mxcube3/init.py, a fake
BlissFramework.Utils
module is provided to be able to importBlissFramework.Utils.widget_colors
from queue hardware object ; this is a temporary fix, maybe we can fix queue_entry.py or use a real mockup tool - added
mxcube.session
hardware object and XML file in test/HardwareObjects.xml - fixed
mxcube.queue
initialization - use
except Exception:
instead ofexcept:
, in general we should never useexcept:
because it masksKeyboardInterrupt
exception - use
logging.exception
instead oflogging.error
, in order to have the stack trace in case of exception - HardwareObjects submodule version has been bumped to latest 2.1 NOTE: this requires a submodule update
Added features:
-
Login
route now makes session initialization like in ProposalBrick2.py - new route:
/mxcube/api/v0.1/samples/<proposal_id>
, to retrieve information from all samples by proposal id - error handling callback in case of failing requests for Login or Sample Grid, uses error notification popup panel
- new Please Wait dialog (to be used with "long" requests, like getting samples from sample changer)
- added Sync. samples feature to get info from ISPyB and update Sample Grid items
- first working version of Filter feature
- user can press [Enter] key instead of clicking buttons for login and filter