(self, location, camera_data, metadata={}, sections={})
| 56 | |
| 57 | class DataSetBuilder(object): |
| 58 | def __init__(self, location, camera_data, metadata={}, sections={}): |
| 59 | self.dataHandler = DataHandler(location) |
| 60 | self.cameraDescription = camera_data |
| 61 | self.camera = None |
| 62 | self.imageCapture = CaptureRenderWindow() |
| 63 | |
| 64 | for key, value in iteritems(metadata): |
| 65 | self.dataHandler.addMetaData(key, value) |
| 66 | |
| 67 | for key, value in iteritems(sections): |
| 68 | self.dataHandler.addSection(key, value) |
| 69 | |
| 70 | def getDataHandler(self): |
| 71 | return self.dataHandler |
no test coverage detected