From 5fe83a902f704c35dbd2ce2b6953d8429f79d579 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Thu, 20 Dec 2018 16:06:09 +0000 Subject: [PATCH] Clarified default config paths --- openflexure_microscope/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openflexure_microscope/config.py b/openflexure_microscope/config.py index 3613d904..00b6de1c 100644 --- a/openflexure_microscope/config.py +++ b/openflexure_microscope/config.py @@ -6,8 +6,8 @@ import shutil HERE = os.path.abspath(os.path.dirname(__file__)) DEFAULT_CONFIG_PATH = os.path.join(HERE, 'microscoperc.default.yaml') -USER_CONFIG_DIR = os.path.join(os.path.expanduser("~"), ".openflexure") #: str: Default path of the user-config directory, containing runtime-config and calibration files. -USER_CONFIG_FILE = os.path.join(USER_CONFIG_DIR, "microscoperc.yaml") #: str: Default path of the user microscoperc.yaml runtime-config file. +USER_CONFIG_DIR = os.path.join(os.path.expanduser("~"), ".openflexure") #: str: Default path of the user-config directory, containing runtime-config and calibration files. Obtained from ``os.path.join(os.path.expanduser("~"), ".openflexure")``. +USER_CONFIG_FILE = os.path.join(USER_CONFIG_DIR, "microscoperc.yaml") #: str: Default path of the user microscoperc.yaml runtime-config file. Obtained from ``os.path.join(USER_CONFIG_DIR, "microscoperc.yaml")`` TYPES = { 'stream_resolution': tuple,