Skip to content
Snippets Groups Projects
Commit 662c320d authored by Jeremy Commins's avatar Jeremy Commins
Browse files

Updated docstrings.

parent df9d0b10
No related branches found
No related tags found
No related merge requests found
# -*- coding: utf-8 -*-
"""
Module for collecting configuration data from ``~/sen2chain/config/config.cfg``
Module for collecting configuration data from ``~/sen2chain_data/config/config.cfg``
"""
import os
import logging
from enum import Enum
from pathlib import Path
from configparser import ConfigParser
......@@ -17,7 +16,7 @@ logging.basicConfig(level=logging.INFO)
ROOT = Path(os.path.realpath(__file__)).parent.parent
SHARED_DATA = dict(
tiles_index = ROOT / "sen2chain_" / "data" / "tiles_index.gpkg",
tiles_index = ROOT / "sen2chain" / "data" / "tiles_index.gpkg",
tiles_index_dict = ROOT / "sen2chain" / "data" / "tiles_index_dict.p",
peps_download = ROOT / "sen2chain" / "peps_download3.py")
......@@ -99,7 +98,7 @@ class Config:
def _check_data_paths(self) -> None:
"""
Checks if data paths are provided and valids. If not, create default
folders in sen2chain/DATA and update the configuration file.
folders in sen2chain_data/DATA and update the configuration file.
"""
def update_config(section, key, value):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment