Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Gui/GUIutils/guiUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from datetime import datetime, timedelta
from subprocess import Popen, PIPE
import traceback
import shutil

from Gui.GUIutils.settings import (
updatedGlobalValue,
Expand Down Expand Up @@ -300,10 +301,9 @@ def SetupRD53Config(Input_Dir, Output_Dir, RD53Dict):
for key in RD53Dict.keys():
try:
print("Doing the copy thing in guiUtils")
os.system(
"cp {0}/CMSIT_RD53_{1}_OUT.txt {2}/CMSIT_RD53_{1}_IN.txt".format(
Input_Dir, key, Output_Dir
)
shutil.copyfile(
"{0}/CMSIT_RD53_{1}_OUT.txt".format(Input_Dir, key),
"{0}/CMSIT_RD53_{1}_IN.txt".format(Output_Dir, key),
)
except OSError:
print(
Expand Down
2 changes: 1 addition & 1 deletion Gui/python/SimplifiedMainWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ def setDeviceStatus(self) -> None:
if site_settings.cooler == "Peltier":
self.worker = Peltier_and_Arduino_Polling()
self.worker.temp.connect(self.updatePeltierTemperatureIndicator)
self.worker.temp.connect(self.updateCondensationRiskIndicator)
self.worker.temp.connect(self.updateArduinoCondensationRiskIndicator)
self.worker.moveToThread(self.thread)
self.thread.started.connect(self.worker.run)
self.thread.start()
Expand Down
Loading