help='Set the units used for the x data.'),
]
- def is_me(self):
+ def is_me(self, path):
"""YOU MUST OVERRIDE Driver.is_me.
RETURNS: Boolean (`True` or `False`)
automatically.
"""
- f = open(self.filename, 'r')
+ f = open(path, 'r')
header = f.readline() # we only need the first line
f.close()
f.close() # remember to close the file
data = curve.Data()
- info = {'filetype':'tutorial', 'experiment':'generic'}
+ info = {'filetype':'tutorial', 'experiment':experiment.Experiment}
return (data, info)