Commit 2974a6f8 authored by marc's avatar marc
Browse files

minor bugfix output File

parent 5d38003c
......@@ -164,11 +164,11 @@ class DTObservationProgram(Ui_mainWindow):
data: is the stdout result which need to be stored line by line
measFile: result file stroing the stdout results including meta data
"""
print("Output to file:", measFile)
integrationTime = self.spinBoxIntTime.value()
measProgramme = self.comboBoxProgramma.currentText()
outputDir = self.lineEditOutputDir.text()
measFile = open(outputDir + 'DT-' + '{:03d}'.format(measnum) + "-" + time.strftime("%Y%m%d") + ".dat",'w')
measFile = open(outputDir + '/DT-' + '{:03d}'.format(measnum) + "-" + time.strftime("%Y%m%d") + ".dat",'w')
print("Output to file:", measFile)
""" Write meta data into measFile"""
measFile.write("#Observer: CAMRAS\n")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment