Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pywit/interface.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
from xwakes.wit.interface import *
from xwakes.wit.interface import _create_iw2d_input_from_dict
2 changes: 1 addition & 1 deletion xwakes/init_pywit_directory.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]}')
Expand Down