-
Notifications
You must be signed in to change notification settings - Fork 6
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
Make compatible with AtomsBase 0.4.x #51
Conversation
Thanks, I'll take a look. Tests are currently failing so I can't merge as is. |
Definitely not ready yet. I'll let you know. |
tests pass now, but maybe this needs a brief discussion before merging. I cannot be sure that I've kept the spirit of some design choices. And there are also some arguments I think to simplify ExtXYZ a bit. The main change in [email protected] that I struggled to incorporate here, is that Either now or in the very near future I would prefer if Incidentally, this is the main reason I had to rewrite the test for equality. (which I'm afraid is an incomplete test now.) |
If you would like to make changes to the PR, please just go ahead. I'm giving you push access to the fork. |
I forgot to mention ... there are a few monkey-patches in the test files that I need to remove but I first have to make some bug fixes to AtomsBase. |
Ok, will wait for those before merging. I'll take a look at the species vs Z issue in the meantime. My original idea was to allow either or both to be present and to check for inconsistencies, raising an error if so. I'll look if this is still the case. |
NOTE : The tests will |
There is also this discussion where it would be useful to get more input. |
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.
I'll be happy to merge this once the corresponding PR in AtomsBase has been merged.
else | ||
atom_data[:atomic_symbol] = [Symbol(element(num).symbol) for num in Z] | ||
end | ||
# TODO; Instead of the following, should there be a consistency check |
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.
Yes, this would be preferable
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.
I filed an issue
Thanks. Shall I register as 0.2 or do we need to wait for AtomsBase? |
I sent the registration request. Sorry I did this via an issue - forgot to add the registrator message to the commit. |
The interface in AB0.4 changed slightly. This PR is to update. I don't plan to support both AB 0.3 and 0.4, so this would become a breaking change to be registered as [email protected].
NB - tests still fail, I will ping once they pass.