mxcubeweb.core.adapter.sample_changer_adapter#
Classes
|
Adapter for AbstractSampleChanger. |
- class mxcubeweb.core.adapter.sample_changer_adapter.SampleChangerAdapter(ho, role, app)#
Bases:
AdapterBaseAdapter for AbstractSampleChanger.
- state()#
Retrieve the state of the underlying hardware object as a JavaScript string.
Retrieves the state of the underlying hardware object and converts it to a str that can be used by the javascript front end.
- Returns:
The state
- Return type:
(str)
- sync_with_crims()#
Synchronize with Crims.
To be used mostly when diffractometer is in plate mode. This returns a list of crystal dicts available in Crims that have been harvested. With this, the user can visualize more easily where the crystals are in the plate GUI.