diff --git a/cmmde_gui/gui.py b/cmmde_gui/gui.py index 3722139..25cb9e2 100755 --- a/cmmde_gui/gui.py +++ b/cmmde_gui/gui.py @@ -103,8 +103,10 @@ def cmmde_gui(): # terminal.clear() # unik = str(uuid.uuid4().hex) - Folder = workdir + "/" + id_input.value + "/" + Molecule_input.value + Folder = workdir + "/" + id_input.value + "/" + Molecule_input.value + if os.path.exists("{}/geom.smi".format(Folder)): + os.system("rm {}/geom.smi".format(Folder)) os.chdir(Folder)