| 262 | } |
| 263 | |
| 264 | auto dd_table_results_to_dict(const DdTableResults& table_results) -> py::dict |
| 265 | { |
| 266 | py::list rows; |
| 267 | for (int strain = 0; strain < DDS_STRAINS; ++strain) { |
| 268 | py::list row; |
| 269 | for (int hand = 0; hand < DDS_HANDS; ++hand) { |
| 270 | row.append(table_results.res_table[strain][hand]); |
| 271 | } |
| 272 | rows.append(row); |
| 273 | } |
| 274 | |
| 275 | py::dict result; |
| 276 | result["res_table"] = rows; |
| 277 | return result; |
| 278 | } |
| 279 | |
| 280 | auto par_results_to_dict(const ParResults& par_results) -> py::dict |
| 281 | { |
no outgoing calls
no test coverage detected