Comments (18)
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.
from sisl.
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.
from sisl.
Lets first see if we can get it up and running
from sisl.
Can you see the build log here: https://readthedocs.org/projects/sisl/builds/24039054/
I can't understand why this fails, same sphinx
version locally, and here all works...
from sisl.
If I install sisl in development mode I can't import sisl_toolbox
, but it seems like it installs sisl normally, right?
from sisl.
Hmm, what are you doing? I don't have any issues? Are you doing an editable intsall?
from sisl.
Yes, I meant editable install
from sisl.
Sorry, I can import it, but running stoolbox --help
gives:
Traceback (most recent call last):
File "/home/pfebrer/miniconda3/envs/simulations/bin/stoolbox", line 5, in <module>
from sisl_toolbox.cli import stoolbox_cli
File "/home/pfebrer/webDevelopement/sislGUI/sisl/src/sisl_toolbox/cli/__init__.py", line 11, in <module>
from ._cli import *
ModuleNotFoundError: No module named 'sisl_toolbox.cli._cli'
from sisl.
import sisl_toolbox.siesta.atom
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/pfebrer/webDevelopement/sislGUI/sisl/src/sisl_toolbox/siesta/atom/__init__.py", line 6, in <module>
from ._atom import AtomInput
File "/home/pfebrer/webDevelopement/sislGUI/sisl/src/sisl_toolbox/siesta/atom/_atom.py", line 847, in <module>
from sisl_toolbox.cli import register_toolbox_cli
File "/home/pfebrer/webDevelopement/sislGUI/sisl/src/sisl_toolbox/cli/__init__.py", line 11, in <module>
from ._cli import *
ModuleNotFoundError: No module named 'sisl_toolbox.cli._cli'
from sisl.
Ah, I see now, I had completely forgotton to add this one in a prior PR... 2 secs
from sisl.
try now ;)
from sisl.
Yes, now it works, so maybe it is the same problem that RTD had when importing sisl_toolbox.siesta.atom
?
from sisl.
I think so, it is running just now ;)
from sisl.
On another related note:
This goes fine:
https://readthedocs.org/projects/sisl/builds/24047173/
Yet, this one doesn't:
https://github.com/zerothi/sisl/actions/runs/8662894836/job/23755808712
You can even see it on the RTD page: https://sisl.readthedocs.io/en/latest/visualization/viz_module/index.html
There you can see broken thumbnails, and for some it works, for others it doesn't?
I also sometimes see this locally, the plot object not having a show
method, why is that?
from sisl.
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 .get()
on the plot when some attribute is requested, but I don't know if I should do it only when the plot hasn't been computed yet, or in all cases. If I do it in all cases this means that the plot will get updated if inputs have been updated (it would trigger a computation of the plot). I don't know if this would be fine or not 😅
from sisl.
But how could the plot not be computed yet? I mean it is a function call ;)
And the cells are executed?
from sisl.
No, it is not a function call, it is a Node
call 😅 And nodes are lazy by default :)
So the question then is if by calling .show()
the user wants to see the latest updated plot or just the current state of the plot.
from sisl.
Hmm, I see. But how was it then working previously? There you also used 'show' for the thumbnails, are the png
even necessary for the thumbnails?
It was because of my clean-up of the thumbnails in the docs.
from sisl.
Related Issues (20)
- Atom instantiation with weird Z values needs clarification
- Grid.isosurface for complex values? HOT 5
- sisl.nodes warnings in tests HOT 1
- Usability suggestions -- Atom, bilayer HOT 15
- Reading wannier Hamiltonian with out '_centres.xyz' present HOT 6
- tests running with FORTRAN=OFF
- Rename `stdoutSileVASP` to `outcarSileVASP` HOT 4
- Dispatch methods does not work
- Documentation of SileBinder methods HOT 2
- Math in sisl documentation HOT 5
- Change CLI to click HOT 1
- how can i use param_circle for graphene HOT 4
- use tocartesian HOT 11
- Change neighborfinder returns to a tuple of indices and supercell indices HOT 21
- Ufuncs could support external classes HOT 4
- `Geometry ` coordinates as f-contiguous array HOT 4
- Streamlining spin/index arguments on `read_grid` methods
- Writing Hamiltonian with sisl from Wannier HOT 3
- `translate2uc` should use boundary conditions (?) HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sisl.