Commit e5962fc5 authored by marc's avatar marc
Browse files

classname using Upper case

parent 10c1906b
......@@ -67,9 +67,9 @@ class measurements():
self._outputFile = outputFile
self._staticMetaData = metaData
self._dynamicMetaData = None'Used measument tool set to: {}'.format(self._tool))'Used measurement tool set to: {}'.format(self._tool))'Integration time set to: {}'.format(self._integrationTime))'Output file is: {}'.format(self._outputFile))'Output file is: {}'.format(
Compile CLI and execute command
......@@ -86,13 +86,14 @@ class measurements():
""" Write results into file"""
for line in measResults:
self._outputFile.write(str(line))'Result written to file: {}'.format(
if __name__ == '__main__':
myMeas = measurements()
measnum = 123
measFile = open('/tmp/DT-' + '{:03d}'.format(measnum) + "-" + time.strftime("%Y%m%d") + ".dat",'w')"Output to file: {}".format(measFile))
for tool in myMeas.getTools():'Defined tools in ini file are: {}'.format(tool))
Supports Markdown
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