Commit e96cf63e authored by Jose Tiago Macara Coutinho's avatar Jose Tiago Macara Coutinho Committed by Jose Tiago Macara Coutinho
Browse files

session: make config objects visible in setup_globals to setup

parent b04bfbdd
......@@ -132,6 +132,9 @@ class Session(object):
from bliss.session.measurementgroup import ACTIVE_MG
env_dict['ACTIVE_MG'] = ACTIVE_MG
for obj_name, obj in env_dict.iteritems():
setattr(setup_globals, obj_name, obj)
fullpath = self._config_tree.get('setup-file')
if fullpath is None:
raise RuntimeError("No setup file.")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment