-
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
Another FastSystem
constructor
#63
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Rachel Kurchin <[email protected]>
Not if you add line breaks? Also why are atomic symbols special. What if I want to supply the atomic numbers instead? What I'm getting at is that we have a different but similar mechanism in the Also a test would be good ;). |
All fair points. Do you think basically duplicating the version we have for
Absolutely, wanted to just stick in a quick implementation to start this discussion, would for sure add this before merging. 😉 |
@rkurchin Super sorry. I completely forgot about this PR. I'll take another look later today. |
Yes I would essentially duplicate the version from |
Looking at old PRs. Is this to be revived, or should we just have a discussion at the molssi workshop about constructor and updator interfaces? |
A discussion in line with how "fat" should this package become would be good. So essentially, where do we cut between the implementation here, a showcase for the interface and AtomsBuilder. |
Relevant to #123 |
I found myself wanting to be able to construct a
FastSystem
without needing to explicitly build the lists of atomic data when they could be inferred, so I added a constructor that will infer atomic numbers and masses if you only supply the symbols. We could also merge this into the original one by providing default values for the latter two arguments. I am completely fine changing this to that instead, i.e. removing the new one I added and instead modifying lines 15-20 to be something like:...but that's also a little clunky to read. 🤷♀️