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

fix circuit_drawer for linux/mac #554

Merged
merged 1 commit into from
Jun 11, 2018
Merged

Conversation

ajavadia
Copy link
Member

Summary

PR #543 fixed an issue with filenames on Windows by adding absolute paths. But it broke circuit_drawer functionality on Mac/Linux. This PR fixes that. The absolute paths are still preserved.

Details and comments

The underlying issue was that when doing conversion from pdf to png, the output file location was not explicitly set. This is now explicit, avoiding inconsistencies between platforms.

Copy link
Member

@diego-plan9 diego-plan9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks @ajavadia !

@diego-plan9 diego-plan9 merged commit 99b81e5 into Qiskit:master Jun 11, 2018
@ajavadia ajavadia deleted the fix/png-path branch July 21, 2018 00:02
lia-approves pushed a commit to edasgupta/qiskit-terra that referenced this pull request Jul 30, 2019
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.

None yet

2 participants