-
Notifications
You must be signed in to change notification settings - Fork 191
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
Reorganization of some top level modules #2357
Reorganization of some top level modules #2357
Conversation
The only two things not done yet, are the |
Coverage increased (+7.4%) to 68.676% when pulling ad86ad3ae546ed01abdce6a05ef30e8af4d2fd4d on sphuber:fix_2311_reorganization_modules into 14ecf15 on aiidateam:provenance_redesign. |
1 similar comment
Coverage increased (+7.4%) to 68.676% when pulling ad86ad3ae546ed01abdce6a05ef30e8af4d2fd4d on sphuber:fix_2311_reorganization_modules into 14ecf15 on aiidateam:provenance_redesign. |
4099613
to
52cbb1a
Compare
Wow, thanks a lot @sphuber ! |
Thanks a lot @sphuber !! I would suggest to either keep it there or move to to a folder that we specifically use for data extensions (I don't know if it really belongs to tools - we could still have a subfolder in some aiida. For the prettifier, it's used by the kpoints/bands exporters, but it could still be general - also in this case maybe it's ok to keep it where it is? For the rest, I let @ltalirz accept it - let me know if you also want me to give a look. Is there already a wiki page or somethings similar explaining what the folders are for? |
@giovannipizzi agreed on the |
05047a7
to
3123679
Compare
We now documented the intended content of the folders in the respective |
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.
In case we need to make changes for pre-commit, let me know and I'll re-approve
There are a few top-level modules whose purpose was not fully clear and partially as well as partially overlapping, which caused the content to be quite unorganized and scattered. Here we reorganize these modules after having clearly defined their purpose: * aiida.common: for generic utility functions and data structures * aiida.manage: for code that manages an AiiDA instance * aiida.tools: for code that interfaces with third-party libraries The module `aiida.control` has been removed. Code that interacted with internal components have been moved into `cmdline` or `manage` where applicable. The `aiida.control.postgres` has been moved to the `aiida.manage.external` module which is reserved for code that have to interact with system wide components, such as the postgres database. The module `aiida.utils` has been removed. Generic functionality has been placed in `aiida.common` and more specific functionality has been placed in the appropriate sub folders.
3123679
to
8249edd
Compare
Fixes #2311
There are a few top-level modules whose purpose was not fully clear and
partially as well as partially overlapping, which caused the content to
be quite unorganized and scattered. Here we reorganize these modules
after having clearly defined their purpose:
The module
aiida.control
has been removed. Code that interacted withinternal components have been moved into
cmdline
ormanage
whereapplicable. The
aiida.control.postgres
has been moved to theaiida.manage.external
module which is reserved for code that have tointeract with system wide components, such as the postgres database.
The module
aiida.utils
has been removed. Generic functionality hasbeen placed in
aiida.common
and more specific functionality has beenplaced in the appropriate sub folders.