-
Notifications
You must be signed in to change notification settings - Fork 144
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
[BUG] Wonky bug with layouts module #931
Comments
Oh this is going to be so much fun to track down. Basically we try to look inside the module for the json file that contains the thematic color palette and use it. The current process was supposed to work everywhere - relative paths, or while packaged, etc - but it seems like Jupyter is putting you in an odd state that we didn't expect. What's most vexxing is that this absolutely works for other people in Jupyter, so there's something else adding a new wrinkle that we didn't expect at all. |
@daxpryce for reference, there was no 😢 react, so let the 👍 stand in its place :( |
@daxpryce https://via.hypothes.is/http://docs.neurodata.io/graph-stats-book/representations/ch4/properties-of-networks.html here it is for you again, this time in our graph stats book... |
@daxpryce perhaps a "healthy medium" as a last resort fail-safe would be a try-catch that downloads it if it's not there if the computer is connected to interwebz..? |
yah; this doesn't work for me locally, nor on a remote jupyter instance for the github workflow we use for the book... so something is amuck. no clue how to rectify. |
Ok so I just brute forced it temporarily by literally wgetting and chmodding with problematically bad permissions to fix the issue for the specific deployment workflow I needed to work as seen https://github.com/neurodata/graph-stats-book/blob/accde1f0dcad134b2d7843fa637923db77d4068a/.github/workflows/deploy.yml#L29, so no longer critical to me, but definitely still seems to be a problem. The workflow we were building off was using |
Expected Behavior
works successfully in a jupyter notebook, after setting up from either github or the setup.py file manually (e.g., cloning package).
Actual Behavior
produces the following error from a jupyter notebook:
Your Environment
dev
branch)Additional Details
The package builds/works successfully from a terminal session, so obviously my first thought was that I had mis-configured/not appropriately configured my jupyter kernel for the notebook. However, I verified manually that
graspologic.__file__
pointed to the same thing in both places, which it did. Further verified that my jupyter kernel was the right version of python, which it was. Not really sure what to do from there. Not sure whether this is a jupyter issue, OS issue (mac), or a python issue relating to something else.The text was updated successfully, but these errors were encountered: