Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report export fails when there are no logged figures #632

Open
amrit110 opened this issue Jun 11, 2024 · 0 comments
Open

Report export fails when there are no logged figures #632

amrit110 opened this issue Jun 11, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@amrit110
Copy link
Member

amrit110 commented Jun 11, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants