cyclops icon indicating copy to clipboard operation
cyclops copied to clipboard

Report export fails when there are no logged figures

Open amrit110 opened this issue 1 year ago • 0 comments

Describe the bug

Currently, the ModelCardReport's export method fails if there are no logged figures in the datasets section.

To Reproduce

  • Try calling export() without logging a plotly figure to the datasets section, but log_dataset method is used.

Expected behavior

Without a logged figure, the other dataset information should still be rendered and the report should be exported.

Screenshots

Fails at cyclops/report/templates/model_report/macros.jinja:33 Screen Shot 2024-06-11 at 8 38 03 AM

Version

  • Latest - 0.2.9

Additional context

Add any other context about the problem here.

amrit110 avatar Jun 11 '24 13:06 amrit110