-
Notifications
You must be signed in to change notification settings - Fork 18
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
Element can't be found when using String for AtomID #71
Comments
Yes, because the convention is in Atom("silicon", zeros(3)u"Å") or this Atom(Symbol("Si"), zeros(3)u"Å") But clearly the current behaviour is confusing. At least it should display a better error. I see these options for improving the situation:
I lean towards 1 or 3. I think 2 might lead to confusion. With respect to 3 I think keeping compatibility with What are other's thoughts? |
Slight preference for 1, then 3. |
I agree with Joe – I've also come across this point of confusion a few times now, so I would view 1 as a bare minimum here to smooth out the user experience. |
I made a proposal in #72. Let me know what you think. |
AtomsBase.jl/src/interface.jl
Line 91 in 652f916
MWE:
The text was updated successfully, but these errors were encountered: