-
Notifications
You must be signed in to change notification settings - Fork 1
Use get_atomic_numbers
instead of atomic_numbers
#22
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is not the parent=True
option pyiron specific? The goal for the structuretoolkit
is to be completely based on ASE Atoms.
Ah good point. Let me think about it. |
Do you know whether it's actually possible to change the chemical symbols in ASE? I take a quick look at it and I couldn't find it. |
I guess the only special element they have is
|
For changing elements you can use:
|
That means the fundamental problem is the fact that we allow any element name then, which is then used in |
That's why I use |
parent
to get_chemical_symbols
get_atomic_numbers
instead of atomic_numbers
I have to admit I was not aware that ASE had an
And instead replace the |
I wasn't either :D but I guess then we found the optimal solution |
sorry a mistake, just a moment |
I am happy - at least the tests failed ;-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me - feel free to merge it once the tests pass
Waiting for pyiron/pyiron_atomistics#1057