Skip to content

fix circuit_drawer for linux/mac#554

Merged
diego-plan9 merged 1 commit into
Qiskit:masterfrom
ajavadia:fix/png-path
Jun 11, 2018
Merged

fix circuit_drawer for linux/mac#554
diego-plan9 merged 1 commit into
Qiskit:masterfrom
ajavadia:fix/png-path

Conversation

@ajavadia
Copy link
Copy Markdown
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
Copy Markdown
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