write_example_format_report

petrophys.reporting.write_example_format_report

write_example_format_report(results, report_path)[source]

Write a CSV summary of a batch export, one row per result.

Columns are source_file, output_file, json_file, success, curves_exported, warnings and errors; several warnings or errors in one cell are joined with " | ".

Parameters:
  • results (iterable of ExampleFormatExportResult) – Results returned by one of the batch exporters.

  • report_path (str or Path) – Output CSV path. Missing parent folders are created.

Returns:

The file written.

Return type:

Path