We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f05b4b6 commit 85ffb2dCopy full SHA for 85ffb2d
2 files changed
ludwig/__init__.py
@@ -1,6 +1,6 @@
1
2
3
-__version__ = '4.0.1'
+__version__ = '4.0.2'
4
5
6
def print_ludwig(s):
ludwig/__main__.py
@@ -263,8 +263,9 @@ def submit():
263
264
# temporary runs folder auto-created with name = {project_name}_runs must be removed
265
path_tmp = cwd / f'{src_path.name}_runs'
266
- shutil.rmtree(path_tmp)
267
- print(f'Removed temporary directory {path_tmp}')
+ if path_tmp.exists():
+ shutil.rmtree(path_tmp)
268
+ print(f'Removed temporary directory {path_tmp}')
269
270
# if running on Ludwig, save worker instructions to shared drive
271
else:
0 commit comments