Skip to content

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.

2 participants