1 class NotRecognized (ValueError):
2 def __init__(self, path):
3 msg = 'Not a recognizable curve format: %s' % self.path
4 ValueError.__init__(self, msg)
9 Base class for file format drivers.
19 This method must read the file and return True if the filetype can be managed by the driver, False if not.
25 This method must close all the open files of the driver, explicitly.
29 def default_plots(self):
30 dummy_default = PlotObject()
31 dummy_default.vectors.append([[[0]],[[0]]])
32 return [dummy_default]