-
Notifications
You must be signed in to change notification settings - Fork 33
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 representation not working when creating the model programmatically #3143
Comments
I noticed that there was no error if PsyNeuLink/psyneulink/core/compositions/showgraph.py Lines 850 to 853 in 1ea4407
If the _analyze_graph gets called, the error also goes away, but I'm not sure the reason it's skipped for 'gv' @jdcpni |
I had the same issue when building this in a Jupyter Notebook via Anaconda 1 and found that
Specifying Footnotes
|
Making a better error message for this issue is also on the todo list. I'm not familiar with it - are you saying |
Yes, pretty much. I'm not as well-versed in the differences, but the top answer in this thread gives a pretty good overview: https://stackoverflow.com/questions/37353199/graphviz-vs-pygraphviz |
@kmantel @taylor-curley I am running this in a conda env with python 3.10 and I can confirm that python-graphviz is already installed, it's one of the few depedencies we install prior installing the viewer
|
Yes I think that's a separate issue to what you're experiencing. I think I was a bit unclear before, would you be able to add |
As per title, when creating the model programmatically using the ports params for mechanisms and the composition api, the graphviz representation, graphviz fails to serialise the model representation in json format. Thanks!
stacktrace:
model.py
The text was updated successfully, but these errors were encountered: