You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Often I'm exploring a class or some methods I'm not super familiar with, and encounter some counter-intuitive (at least to my intuition 🙃) behaviour. Typically I would just say: "huh", and move on, but in the interest of discussing improving the API I wanted to report these moments of confusion. I could make a separate issue for each, but I figured it was more organised to keep track of them in one issue.
Note: I'm not necessarily arguing that the API should be changed in each case. I'm purposely not going to investigate each occurrence in too much detail to avoid the barrier to reporting them becoming so big it just doesn't happen. Even if we decide not to change the behaviour, it might be good to document somewhere why not.
Often I'm exploring a class or some methods I'm not super familiar with, and encounter some counter-intuitive (at least to my intuition 🙃) behaviour. Typically I would just say: "huh", and move on, but in the interest of discussing improving the API I wanted to report these moments of confusion. I could make a separate issue for each, but I figured it was more organised to keep track of them in one issue.
Note: I'm not necessarily arguing that the API should be changed in each case. I'm purposely not going to investigate each occurrence in too much detail to avoid the barrier to reporting them becoming so big it just doesn't happen. Even if we decide not to change the behaviour, it might be good to document somewhere why not.
Group.collection.get
I was using the
Group.collection.get_or_create()
method in one of my scripts, but in the end found it's silent behaviour of creating non-existent groups too dangerous in the context. So I decided to switch to usingget
instead, but apparently the API doesn't work that way:Results in a
TypeError
:Apparently you have to pass
filters
as keyword arguments instead, e.g.label
:Set automatically stored as list
node.extras
silently immutableContinuing from above
verdi code setup
accepts non-existing pluginsWhile setting up the code for
aiida-phonopy
, there was a typo in the instructions:However, the installation passed without complaint:
Not sure if this is desired behaviour.
Edge projections always come after regular ones
TODO - just so I don't forget to describe this.
The text was updated successfully, but these errors were encountered: