Open
Description
In niworkflows, we've implemented a reporting mechanism that allows interfaces to generate images or HTML snippets to describe what was done and allow a user to assess the quality.
The approach can be seen in the ReportCapableInterface
, which adds _post_run_hook
and _generate_report
methods which have access to both the inputs and the outputs of the interface.
We currently use these as mixins to augment standard nipype interfaces, but they could as easily be used in built-in interfaces as well.
Is this something worth trying to bring upstream - both the reporting mechanism itself and the specific report generation code for various operations (e.g. registration and segmentation)?