diff --git a/python/MDSplus/tree.py b/python/MDSplus/tree.py index e6cd4505b9..e4be25d9c2 100644 --- a/python/MDSplus/tree.py +++ b/python/MDSplus/tree.py @@ -3874,6 +3874,10 @@ def Add(cls, tree, name, add_source=False): if 'options' in elt: for option in elt['options']: node.__setattr__(option, True) + if 'ext_options' in elt: + if isinstance(elt['ext_options'], dict): + for ext_option in elt['ext_options'].keys(): + node.setExtendedAttribute(ext_option, elt['ext_options'][ext_option]) except: _sys.stderr.write('ERROR: %s\n' % str(elt)) raise