From f2445fbd81b8901c90a2974fd1f8d213d4d09857 Mon Sep 17 00:00:00 2001 From: huweiqiang Date: Wed, 13 Dec 2023 09:49:38 +0800 Subject: [PATCH] bugfix(init sample datasets): fix error of copying sample dataset files --- deepdataspace/services/dds.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deepdataspace/services/dds.py b/deepdataspace/services/dds.py index 74fc5fe..e968f11 100644 --- a/deepdataspace/services/dds.py +++ b/deepdataspace/services/dds.py @@ -170,6 +170,7 @@ def _init_shared_files_and_dirs(self): if self.quickstart is True: if self.data_dir is None: self.data_dir = os.path.join(config.RUNTIME_DIR, "datasets") + os.makedirs(self.data_dir, exist_ok=True) self.init_samples() config.DATA_DIR = self.data_dir