def genReport(): scoring.score() report.gen()
def onGen(self, event): startDate = _wxToPyDate(self.start.GetValue()) endDate = _wxToPyDate(self.end.GetValue()) report.gen(startDate, endDate, batteryChange, getOptions())