Skip to content

Commit

Permalink
[WF] - Fixing imports, making sure we can import queue_model_objects …
Browse files Browse the repository at this point in the history
…standalone
  • Loading branch information
marcus-oscarsson committed Mar 19, 2024
1 parent ba13f30 commit d54ea9e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mxcubecore/model/queue_model_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d54ea9e

Please sign in to comment.