| 325 | } |
| 326 | |
| 327 | auto dd_tables_res_to_list(const DdTablesRes& tables_res, const int num_tables) -> py::list |
| 328 | { |
| 329 | const int max_tables = MAXNOOFTABLES * DDS_STRAINS; |
| 330 | const int count = std::max(0, std::min(num_tables, max_tables)); |
| 331 | |
| 332 | py::list result; |
| 333 | for (int i = 0; i < count; ++i) { |
| 334 | result.append(dd_table_results_to_dict(tables_res.results[i])); |
| 335 | } |
| 336 | return result; |
| 337 | } |
| 338 | |
| 339 | auto all_par_results_to_list(const AllParResults& all_par_results, const int num_tables) -> py::list |
| 340 | { |
no test coverage detected