-
Notifications
You must be signed in to change notification settings - Fork 192
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
Docs: Move data types to Topics section #4469
Docs: Move data types to Topics section #4469
Conversation
docs/source/topics/data_types.rst
Outdated
|
||
.. _topics:data_types:export: | ||
|
||
Export data nodes to various formats |
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.
As you already mentioned, maybe all this section should be moved to an 'exporting data' section - like in "importing", we have two types (import an AiiDA DB, and import from external sources). Also here, we might want to have two types of export: export to AiiDA export file, and export to other formats (this section for the AiiDA data types).
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.
So far I have moved the CLI examples to the corresponding data type section (as they are rather specific) and kept the general description of the export()
method at the end of the file. I suppose it could be fit into the "How to share data" section?
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, but I think we also discussed the option to just leave them at the bottom of the page in yesterday's meeting - I'm not sure which solution is better
@mbercx does this still require discussion or was this settled yesterday? If it does need discussion, let's remember to bring it up during today's meeting at 11. |
c4577cd
to
476615f
Compare
Codecov Report
@@ Coverage Diff @@
## develop #4469 +/- ##
===========================================
- Coverage 79.50% 79.31% -0.18%
===========================================
Files 482 475 -7
Lines 35327 34840 -487
===========================================
- Hits 28082 27631 -451
+ Misses 7245 7209 -36
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Thanks @giovannipizzi for the review! Besides your comments, I've already made a lot of changes to the previous version. I think the section is already in pretty good shape, but there are still some data types missing (
Let me know what you think is best! In case we want to merge it asap, I'll also look for another reviewer since you indicated you'd be busy today. |
Before you merge this, please ensure that |
fa2218f
to
63f27a7
Compare
@giovannipizzi this is ready for another round of review! Also fine to merge in its current state, I'll give the whole section another pass when adding the missing data types (#4529). |
63f27a7
to
3087bb9
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.
Thanks @mbercx ! A few comments to address, then it's ok to merge with me and the rest can be addressed in a future PR
^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
When specifying ``method='seekpath'``, the `seekpath <https://github.com/giovannipizzi/seekpath/>`_ library is used to generate the path. | ||
Note that this requires ``seekpath`` to be installed (this is not available by default, in order to reduce the dependencies of AiiDA core, but can be easily installed using ``pip install seekpath``). |
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
Thanks @mbercx ! |
Fixes #4449
There was still content from the previous documentation on data types that was missing from the revamped docs. Here we move this content into the "Topics - Data types" section.
Done
Move all the content from the source/datatypes directory to the 'Data types' topics section, removing the source/datatypes directory afterwards.
Restructure the content to first discuss the 'core' types, which we intend to keep in aiida-core in the long term, then the 'materials science' types, which may be moved to a plugin at some point. Move the export content to the end of the file.
Reformat the content to the current style preferences:
code-block
directive instead of::
.TODO
The section can still do with quite a large overhaul, I think. Some items on the TODO list:
Dict
node) for each of the data types.KpointsData
andBandsData
examples. Consider removing legacy code.export
method to the new "How to share data" section (Docs: How to share data #3998).