Skip to content

Commit 6b01d28

Browse files
committed
Fixed an error
1 parent 334945e commit 6b01d28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/Relax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def relax(self, restart_from_ens = False, get_stress = False,
304304
if not os.path.exists(ensemble_loc):
305305
os.makedirs(ensemble_loc)
306306
else:
307-
if not os.isdir(ensemble_loc):
307+
if not os.path.isdir(ensemble_loc):
308308
ERR_MSG = """
309309
Error, the specified location to save the ensemble:
310310
'{}'

0 commit comments

Comments
 (0)