fitbenchmarking.utils.write_files module

Utility decorator function for saving and writing files.

fitbenchmarking.utils.write_files.write_file(function)

A decorator function used for catching exceptions which can happen specifically when writing files. It will log a useful error message if the problem is identified.

Parameters

function (A callable function.) – A callable function which writes files.

Returns

A callable wrapped function which writes files.

Return type

A callable function.