-
Notifications
You must be signed in to change notification settings - Fork 48
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
Document required attrs
package
#201
Comments
Merged
@wilhadams Thanks for the suggestion. I'll take care of this in #157. This PR converts one namedtuple to an attr class. We should do also the remaining ones, and add a few words of explanation to how it is used. We mainly use it for attribute validation and avoiding lengthy classes. |
tovrstra
added a commit
to tovrstra/iodata
that referenced
this issue
Sep 3, 2020
Fixes theochem#201 Related to theochem#138 This PR includes: - Attribute validation (to large extent, not every detail) - attrutil module to facilitate validation of array attributes - Documentation of how attrs is used in IOData - Bug fix in CP2K loader - Minor fixes elsewhere
tovrstra
added a commit
to tovrstra/iodata
that referenced
this issue
Sep 3, 2020
Fixes theochem#201 Related to theochem#138 This PR includes: - Attribute validation (to large extent, not every detail) - attrutil module to facilitate validation of array attributes - Documentation of how attrs is used in IOData - Bug fix in CP2K loader - Minor fixes elsewhere
tovrstra
added a commit
to tovrstra/iodata
that referenced
this issue
Sep 3, 2020
Fixes theochem#201 Related to theochem#138 and theochem#157 (which were earlier attempts) This PR includes: - Attribute validation (to large extent, not every detail) - attrutil module to facilitate validation of array attributes - Documentation of how attrs is used in IOData - Bug fix in CP2K loader - Minor fixes elsewhere
tovrstra
added a commit
to tovrstra/iodata
that referenced
this issue
Sep 3, 2020
Fixes theochem#201 Related to theochem#138 and theochem#157 (which were earlier attempts) This PR includes: - Attribute validation (to large extent, not every detail) - attrutil module to facilitate validation of array attributes - Documentation of how attrs is used in IOData - Bug fix in CP2K loader - Minor fixes elsewhere
tovrstra
added a commit
to tovrstra/iodata
that referenced
this issue
Sep 3, 2020
Fixes theochem#201 Related to theochem#138 and theochem#157 (which were earlier attempts) This PR includes: - Attribute validation (to large extent, not every detail) - attrutil module to facilitate validation of array attributes - Documentation of how attrs is used in IOData - Bug fix in CP2K loader, related to theochem/gbasis#78 - Minor fixes elsewhere to satisfy attribute validators
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
attrs
package is requred for IOData, but there's no mention of it anywhere in the README nor the developer documentation. This is also important because there's also anattr
package, with similar functionality, and the import statement for theattrs
package isimport attr
, which is confusing. I think putting a brief overview of howattrs
works within IOData into the developer docs would make it easier for new developers to contribute.The text was updated successfully, but these errors were encountered: