From 3db0bead04f8d6d18e30ec113827c0b3d3584a75 Mon Sep 17 00:00:00 2001 From: ouyangwenyu Date: Fri, 22 Mar 2024 10:54:09 +0800 Subject: [PATCH] fix a little bug for CACHE_DIR --- hydrodataset/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hydrodataset/__init__.py b/hydrodataset/__init__.py index aae5ff8..a72ba7e 100644 --- a/hydrodataset/__init__.py +++ b/hydrodataset/__init__.py @@ -1,7 +1,7 @@ """ Author: Wenyu Ouyang Date: 2022-09-05 23:20:24 -LastEditTime: 2024-02-18 16:46:50 +LastEditTime: 2024-03-22 10:52:33 LastEditors: Wenyu Ouyang Description: set file dir FilePath: \hydrodataset\hydrodataset\__init__.py @@ -71,7 +71,7 @@ def read_setting(setting_path): # set some constants for hydrodataset ROOT_DIR = SETTING["local_data_path"]["datasets-origin"] -CACHE_DIR = hydro_file.get_cache_dir() +CACHE_DIR = Path(hydro_file.get_cache_dir()) # set some constants for datasets