Ejemplo n.º 1
0
 def _get_empty_table(self, attribute=None, title=None, columns=None):
     table = AbsoluteReport._get_empty_table(self, attribute=attribute,
                                             title=title, columns=columns)
     summary_functions = [sum, reports.avg]
     if title == 'summary':
         summary_functions = []
     diff_module = DiffColumnsModule(self._get_compared_configs(), summary_functions)
     table.dynamic_data_modules.append(diff_module)
     return table
Ejemplo n.º 2
0
 def _get_empty_table(self, attribute=None, title=None, columns=None):
     table = AbsoluteReport._get_empty_table(self,
                                             attribute=attribute,
                                             title=title,
                                             columns=columns)
     summary_functions = [sum, reports.arithmetic_mean]
     if title == 'Summary':
         summary_functions = []
     diff_module = DiffColumnsModule(self._algorithm_pairs,
                                     summary_functions)
     table.dynamic_data_modules.append(diff_module)
     return table
Ejemplo n.º 3
0
 def _get_empty_table(self, attribute=None, title=None, columns=None):
     table = AbsoluteReport._get_empty_table(self,
                                             attribute=attribute,
                                             title=title,
                                             columns=columns)
     summary_functions = [sum, reports.avg]
     if title == 'summary':
         summary_functions = []
     diff_module = DiffColumnsModule(self._get_compared_configs(),
                                     summary_functions)
     table.dynamic_data_modules.append(diff_module)
     return table