Skip to content
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

Finish updating docstrings #232

Merged
merged 8 commits into from
May 28, 2024
Merged

Finish updating docstrings #232

merged 8 commits into from
May 28, 2024

Conversation

brynpickering
Copy link
Contributor

Updated docstrings I missed in #229 and added type hints to methods if they have an associated docstring. Now everything will render nicely in the docs :)

@codecov-commenter
Copy link

codecov-commenter commented Mar 12, 2024

Codecov Report

Attention: Patch coverage is 97.29730% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 92.24%. Comparing base (dd88fb0) to head (74c3ab6).

Files Patch % Lines
genet/input/read.py 86.66% 1 Missing and 1 partial ⚠️
genet/utils/plot.py 50.00% 0 Missing and 1 partial ⚠️
genet/utils/secrets_vault.py 90.90% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #232      +/-   ##
==========================================
+ Coverage   92.19%   92.24%   +0.04%     
==========================================
  Files          37       37              
  Lines        6623     6639      +16     
  Branches     1590     1590              
==========================================
+ Hits         6106     6124      +18     
  Misses        298      298              
+ Partials      219      217       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@KasiaKoz KasiaKoz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, there are just a couple of small things:

  • I think the description of the spatial tree is a bit off right now
  • multiprocessing description needs a little ironing in one place, it mentioned combine as somewhat optional which might give the wrong idea (i think you still need to pass a method, even if that method is an identity map)

I think I left some other comments but those will be mostly just passing thoughts

genet/input/read.py Outdated Show resolved Hide resolved
genet/utils/parallel.py Outdated Show resolved Hide resolved
genet/utils/parallel.py Outdated Show resolved Hide resolved
genet/utils/spatial.py Outdated Show resolved Hide resolved
genet/utils/spatial.py Outdated Show resolved Hide resolved
@brynpickering
Copy link
Contributor Author

@KasiaKoz bump to avoid this going stale!

Copy link
Collaborator

@KasiaKoz KasiaKoz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@brynpickering brynpickering merged commit 6934146 into main May 28, 2024
13 checks passed
@brynpickering brynpickering deleted the update-doc-strings branch May 28, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants