Closed rodolakis closed 1 year ago
In iconfig.yml
add:
RUNENGINE_MD_PATH: /home/beams/RODOLAKIS/data/RE_md
In instrument/framework/initialize.py
replace
with:
def get_md_path():
return str(pathlib.Path(iconfig["RUNENGINE_MD_PATH"]))
# Set up a RunEngine and use metadata backed PersistentDict
RE = RunEngine({})
RE.md = PersistentDict(get_md_path())
We should also add handling in case the user does not provide this key (it is commented out, by default).
Bluesky creates a Bluesky_RunEngine_md directory in Home directory at startup. Let user choose location of directory.