-
Notifications
You must be signed in to change notification settings - Fork 3
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
Englishing docstrings ✏️ #125
base: dev
Are you sure you want to change the base?
Conversation
Hi @Thomalpas and thank you for this again :) I'll answer what I can and leave the rest to discuss with @alaindanet:
Indeed. The default is to just use However, having one general-purpose
Indeed. This very docstring is special because it is bound to automatically generated functions (here). We need to store it in a variable first so we can use it in a loop later :)
We have not, and it could make sense indeed. Any thought @alaindanet, @ismael-lajaaiti, @andbeck? |
(follow-up of your comment there: if we go for |
I don't have a problem personally with (I think in my head it is because idxs is plural of idx and therefore is fine) |
I agree that it makes sense. I think we should go for it. |
Triage: blocked until output simulation utils eventually make it to the new API. |
a846405
to
1692040
Compare
3477e6b
to
586bed5
Compare
1684652
to
5d1c9e5
Compare
I've finally had a read of the docstrings @alaindanet wrote for the simulation output utils and made a few minor changes.
There are 4 things that I think are worth discussing rather than me just changing them:
richness
docstring (line 15) withinfunctioning.jl
we have:Which reads as both we should leave the threshold and change it... I'm not sure what information the second sentence is meant to be providing so I don't know how to change it
solution::Solution
vssolution
when writing function arguments - for example:function richness(solution::Solution;
vsfunction species_persistence(solution;
Is there a purpose to this or should this be tidied up to always
solution::Solution
?functioning.jl
readsdocstring = """
. Everywhere else this is"""
I have left this because I have assumed this is deliberate and beyond my knowledge, but just wanted to check this was meant to be there?