From 39b7ba27183909647efb3f850290536c6140b9f3 Mon Sep 17 00:00:00 2001 From: Pete R Jemian Date: Mon, 26 Feb 2024 10:10:25 -0600 Subject: [PATCH] MNT #213 relocate & remove clutter from home directory --- bluesky/instrument/framework/initialize.py | 2 +- bluesky/instrument/iconfig.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bluesky/instrument/framework/initialize.py b/bluesky/instrument/framework/initialize.py index 2b92c672..1efb7abd 100644 --- a/bluesky/instrument/framework/initialize.py +++ b/bluesky/instrument/framework/initialize.py @@ -47,7 +47,7 @@ def get_md_path(): path = iconfig.get("RUNENGINE_MD_PATH") if path is None: - path = pathlib.Path.home() / "Bluesky_RunEngine_md" + path = pathlib.Path.home() / ".config" / "Bluesky_RunEngine_md" else: path = pathlib.Path(path) logger.info("RunEngine metadata saved in directory: %s", str(path)) diff --git a/bluesky/instrument/iconfig.yml b/bluesky/instrument/iconfig.yml index 32b0988f..79a51d5f 100644 --- a/bluesky/instrument/iconfig.yml +++ b/bluesky/instrument/iconfig.yml @@ -41,7 +41,7 @@ WRITE_SPEC_DATA_FILES: true # Directory to "autosave" the RE.md dictionary (uses PersistentDict) # Uncomment and modify to change from the default. -# RUNENGINE_MD_PATH: /home/USERNAME/Bluesky_RunEngine_md +# RUNENGINE_MD_PATH: /home/USERNAME/.config/Bluesky_RunEngine_md # override default control layer for ophyd # if undefined, defaults to PyEpics