Commit 687726d8 authored by marc's avatar marc
Browse files

minor update

parent e5962fc5
......@@ -10,7 +10,7 @@ config.readfp(open(os.path.join(os.path.dirname(__file__), 'measurements.ini')))
logging.basicConfig(level=logging.DEBUG)
class measurements():
class Measurements():
def __init__(self):
'''
Initializes a measurement instance.
......@@ -90,7 +90,7 @@ class measurements():
logging.info('Result written to file: {}'.format(self._outputFile.name))
if __name__ == '__main__':
myMeas = measurements()
myMeas = Measurements()
myMeas.getMetaData()
measnum = 123
measFile = open('/tmp/DT-' + '{:03d}'.format(measnum) + "-" + time.strftime("%Y%m%d") + ".dat",'w')
......
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