diff --git a/pywit/interface.py b/pywit/interface.py index ec0bb6ce..521c5d2e 100644 --- a/pywit/interface.py +++ b/pywit/interface.py @@ -1 +1,2 @@ from xwakes.wit.interface import * +from xwakes.wit.interface import _create_iw2d_input_from_dict diff --git a/xwakes/init_pywit_directory.py b/xwakes/init_pywit_directory.py index 1b02a8aa..671c9e43 100644 --- a/xwakes/init_pywit_directory.py +++ b/xwakes/init_pywit_directory.py @@ -6,7 +6,7 @@ def initialize_pywit_directory() -> None: home_path = pathlib.Path.home() paths = [home_path.joinpath('pywit').joinpath(ext) for ext in ('config', 'IW2D/bin', 'IW2D/projects')] for path in paths: - os.makedirs(path, exist_ok=True) + os.makedirs(path) with open(pathlib.Path(paths[0]).joinpath('iw2d_settings.yaml'), 'w') as file: file.write(f'binary_directory: {paths[1]}\n' f'project_directory: {paths[2]}')