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
logging.info('Used measument tool set to: {}'.format(self._tool))
logging.info('Used measurement tool set to: {}'.format(self._tool))
logging.info('Integration time set to: {}'.format(self._integrationTime))
logging.info('Output file is: {}'.format(self._outputFile))
logging.info('Output file is: {}'.format(self._outputFile.name))
'''
Compile CLI and execute command
......@@ -86,13 +86,14 @@ class measurements():
""" Write results into file"""
for line in measResults:
self._outputFile.write(str(line))
logging.info('Result written to file: {}'.format(self._outputFile.name))
if __name__ == '__main__':
myMeas = measurements()
myMeas.getMetaData()
measnum = 123
measFile = open('/tmp/DT-' + '{:03d}'.format(measnum) + "-" + time.strftime("%Y%m%d") + ".dat",'w')
logging.info("Output to file: {}".format(measFile))
for tool in myMeas.getTools():
logging.info('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