diff --git a/mxcubecore/model/queue_model_objects.py b/mxcubecore/model/queue_model_objects.py index 9e19f7ac29..7fc8357ef5 100644 --- a/mxcubecore/model/queue_model_objects.py +++ b/mxcubecore/model/queue_model_objects.py @@ -29,6 +29,12 @@ from mxcubecore.model import queue_model_enumerables +try: + from mxcubecore.model import crystal_symmetry + import ruamel.yaml as yaml +except Exception: + logging.getLogger("HWR").warning("Cannot import dependenices needed for GPHL workflows - GPhL workflows might not work") + # This module is used as a self contained entity by the BES # workflows, so we need to make sure that this module can be # imported eventhough HardwareRepository is not avilable.