Skip to content

Commit

Permalink
put mast machine mapping import into try-except
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcclena committed Jun 5, 2024
1 parent c232397 commit a4a9bff
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion omas/omas_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from .omas_utils import *
from .omas_core import ODS, dynamic_ODS, omas_environment, omas_info_node, imas_json_dir, omas_rcparams
from .omas_physics import cocos_signals
from omas.machine_mappings import d3d, nstx, nstxu, east, mast
from omas.machine_mappings import d3d, nstx, nstxu, east
from omas.machine_mappings.d3d import __regression_arguments__
from omas.utilities.machine_mapping_decorator import machine_mapping_function
from omas.utilities.omas_mds import mdsvalue
Expand All @@ -16,6 +16,12 @@
except:
pass

try:
from omas.machine_mappings import mast
except ImportError:
pass


__all__ = [
'machine_expression_types',
'machines',
Expand Down

0 comments on commit a4a9bff

Please sign in to comment.