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

Added file save checks for renderers #260

Merged
merged 3 commits into from
Jan 12, 2025
Merged

Conversation

gadhvirushiraj
Copy link
Contributor

Fixes #249

Added a test to verify that the Matplotlib, Text, and LaTeX renderers saves circuit files in PNG, TXT, and PDF formats. The test checks file creation using the tmpdir fixture for multiple QC fixtures.

@BoxiLi
Copy link
Member

BoxiLi commented Jan 12, 2025

Thanks @gadhvirushiraj , the error seems independent of the changes?

tests/test_renderer.py Outdated Show resolved Hide resolved
@gadhvirushiraj
Copy link
Contributor Author

Thanks @gadhvirushiraj , the error seems independent of the changes?

yeah, something else

@BoxiLi BoxiLi merged commit c769bfd into qutip:master Jan 12, 2025
11 of 12 checks passed
@BoxiLi BoxiLi added this to the qutip-qip-0.4.1 milestone Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

saving a circuit with latex method as a PDF fails
2 participants