-
Notifications
You must be signed in to change notification settings - Fork 5
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
Graphviz suggestions #257
Merged
Merged
Graphviz suggestions #257
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have attempted to call this method in a version of the v2 test file that I wrote as follows:
As yet, my use of
GraphViz.load
is resulting in a persistent failure to correctly dispatch on the overloaded method:Perhaps I have just done something silly but I can't seem to shake this error, no matter how I re-define the positionality of the arguments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update: Ok its my mistake, I pushed the fix, the type for the
save_to
variable was wrong.I'm not sure about those lines
You should simply do
and the package should be installed on your system. Otherwise the extension won't load properly. Does that fix the error?
You error however says something weird, so it definitely sees the method here in the stacktrace (I assume the extension loaded?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the clarification @bvdmitri.
I have two things to discuss.
First Thing:
You seem to be saying that I can/should simply replace the following lines in
test/visualization_tests_233_v2.jl
:with the simpler:
using GraphViz
. I did try this, it results in:Thus it seems that Julia is unable to find the overloaded version of
GraphViz.load
if I don't explicitly useto specify that I want my overlaoded version from
GraphPPLGraphVizExt
. In order to do this, I think I need to append the extension to Julia'sLOAD_PATH
variable. That is why I have:My understanding is that it is necessary to append the
ext
directory to Julia's current list of available directories in theLOAD_PATH
variable. Perhaps there is a much better/cleaner way to do this.Second Thing:
When I attempt to run my existing test script:
Julia can't seem to find the
prettyname
function:I have tried all kinds of things to resolve this issue, none have worked.
Perhaps I am systematically misunderstanding how Julia loads various modules and files for actual execution and this is the reason why I'm having all this difficulty. That is my guess! I apologise for any such deficiency on my behalf.
I did actually get an overloaded version of
GraphViz.load
working in my own branch (minus theprettyname
) so I'm not sure why there are all these difficulties here.I hope this is enough to go on for general comments and suggestions.