From 384b41c8716f3340abeb0c7499e3d81cb834c4ad Mon Sep 17 00:00:00 2001 From: pixels Date: Thu, 20 Nov 2025 15:54:01 -0500 Subject: [PATCH] switching from copyfile to copy when copying to a directory --- Gui/python/TestHandler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gui/python/TestHandler.py b/Gui/python/TestHandler.py index 383373b9..9070f37d 100644 --- a/Gui/python/TestHandler.py +++ b/Gui/python/TestHandler.py @@ -1394,7 +1394,7 @@ def saveTest(self, processIndex: int, process: QProcess): "Run{0}_MonitorDQM_Board_{1}*.root".format( self.RunNumber, self.firmware[processIndex].getBoardID())) ): - shutil.copyfile( + shutil.copy( file_path, os.path.join( self.output_dir, @@ -1403,7 +1403,7 @@ def saveTest(self, processIndex: int, process: QProcess): ) ) - shutil.copyfile( + shutil.copy( "{0}/test/Results/Run{1}_CMSIT_{2}.xml".format(os.environ.get("PH2ACF_BASE_DIR"), self.RunNumber, current_fc7),