-
Notifications
You must be signed in to change notification settings - Fork 13
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
improve docstrings #266
improve docstrings #266
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @CunliangGeng and the rest of your teammates on Graphite |
b3fa22d
to
6180b1a
Compare
- move code from `utils.py` to `__init__.py` - add docstring to module attributes - add schema content to docstring
6180b1a
to
7409393
Compare
|
||
This class is used to arrange the datasets required by NPLinker according to the | ||
configuration. The datasets include MIBiG, GNPS, antiSMASH, and BiG-SCAPE. | ||
??? info "Concept and Diagram" |
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.
Is this a syntax that mkdocs recognizes and links to "Concept and Diagram"?
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.
No, that syntax is not for link but for creating a info block (or callout), the effect looks like (you could see that on doc website)
>>> loader = DatasetLoader(config) | ||
>>> loader.load() | ||
|
||
See Also: |
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.
See Also: | |
See also: |
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.
Ruff requires that all section headers in a docstring should be capitalized and will automatically change also
to Also
. So let's use See Also:
.
Before merging, fix the trailing whitespace that makes format checking fail ( |
Merge activity
|
Quality Gate passedIssues Measures |
Quite many small changes to the docstrings and docs to e.g.
...