Skip to content

Commit

Permalink
File copy bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
KristapsE committed May 12, 2020
1 parent b3d95a9 commit 479791c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PyDP4_GUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from PyQt5 import QtWidgets, QtCore, QtGui
import time
import os
import shutil
import PyDP4
import queue
import sys
Expand Down Expand Up @@ -662,7 +663,7 @@ def get_current_values(self):
for f in self.Structure_paths:

if not Path(self.Output_folder / f.name).exists():
os.copy(f, self.settings.OutputFolder)
shutil.copyfile(f, self.settings.OutputFolder + os.path.sep + f)

# add NMR

Expand Down

0 comments on commit 479791c

Please sign in to comment.