-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add support for single archive files and pymatgen parsers #35
Conversation
Just added the extra property def stuff we discussed to this, also had to introduce the concept of property aliases so that user's aren't confined to serving the internal fields with the names used by any given package. Will make a follow-up PR with some testing for the first entry in each example db |
…into a new submodule
…w for the definition of aliases
69170b6
to
50c029a
Compare
4f428f6
to
df6c9a1
Compare
df6c9a1
to
a07b2a4
Compare
50ccda0
to
0bff866
Compare
5cd8a04
to
d85c5f3
Compare
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 great! Thanks a lot!
This PR adds support for data provided in the form of a single compressed file (e.g., not a tar archive), such as
json.bz2
.It also enables parsing of such data with
Structure.from_dict()
andComputedStructureEntry.from_dict()
. This required a bit of refactoring to enable, as it breaks some assumptions from the simpler one-to-one file -> structure parsers.This code will work but may need some more features but has a few bits to discuss, e.g.,
Closes #33
Closes #30
Closes #37
Closes #38