def _summary(self): """Print a summary of the DLE transformations.""" row = "%s [elapsed: %.2f]" out = " >>\n ".join( row % ("".join(filter(lambda c: not c.isdigit(), k[1:])), v) for k, v in self.timings.items()) elapsed = sum(self.timings.values()) dle("%s\n [Total elapsed: %.2f s]" % (out, elapsed))
def _summary(self): """Print a summary of the DLE transformations.""" row = "%s [elapsed: %.2f]" out = " >>\n ".join(row % ("".join(filter(lambda c: not c.isdigit(), k[1:])), v) for k, v in self.timings.items()) elapsed = sum(self.timings.values()) dle("%s\n [Total elapsed: %.2f s]" % (out, elapsed))