-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Sisl files not available in readthedocs documentation #745
Comments
Yes, I seem to recall I disabled it on rtd because of time-outs, RTD has a limitation on the amount of time it allowed to run. We can try and re-enable it to see if will actually work. |
Maybe I can try to change the tutorials so that they don't use files. But I think plotting bands files is what most people would want to do so it is nice to have it in the tutorial. |
Lets first see if we can get it up and running |
Can you see the build log here: https://readthedocs.org/projects/sisl/builds/24039054/ |
If I install sisl in development mode I can't import |
Hmm, what are you doing? I don't have any issues? Are you doing an editable intsall? |
Yes, I meant editable install |
Sorry, I can import it, but running
|
|
Ah, I see now, I had completely forgotton to add this one in a prior PR... 2 secs |
try now ;) |
Yes, now it works, so maybe it is the same problem that RTD had when importing |
I think so, it is running just now ;) |
On another related note: This goes fine: Yet, this one doesn't: You can even see it on the RTD page: https://sisl.readthedocs.io/en/latest/visualization/viz_module/index.html I also sometimes see this locally, the plot object not having a |
Hmm ok this is because the plot is not computed yet. I don't know how to handle this, because if the plot is not computed this kind of methods will fail, but if the plot has been computed it will work. I could call |
But how could the plot not be computed yet? I mean it is a function call ;) |
No, it is not a function call, it is a So the question then is if by calling |
Hmm, I see. But how was it then working previously? There you also used 'show' for the thumbnails, are the It was because of my clean-up of the thumbnails in the docs. |
The
SISL_FILES_TESTS
variable is not set in readthedocs and it causes errors for some notebooks that plot files: https://sisl.readthedocs.io/en/latest/visualization/viz_module/index.htmlThis doesn't happen in the other documentation site:
https://zerothi.github.io/sisl/visualization/viz_module/index.html
The text was updated successfully, but these errors were encountered: