(test)
| 87 | file_name.unlink(missing_ok=True) |
| 88 | |
| 89 | def names(test): |
| 90 | if hdf_output: |
| 91 | # use internal container structure for HDF |
| 92 | file_name = output_path / "flame_data.h5" |
| 93 | return file_name, test |
| 94 | # use separate files for YAML |
| 95 | file_name = output_path / f"{test}.yaml".replace("-", "_").replace("/", "_") |
| 96 | return file_name, "solution" |
| 97 | |
| 98 | # Save to data directory |
| 99 | file_name, entry = names("initial-solution") |
no test coverage detected