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

update definition of sb based on reviewer comments #50

Merged
merged 3 commits into from
Jul 11, 2024

Conversation

chantelwetzel-noaa
Copy link
Collaborator

Revised the definition of SB based on reviewer comments.

Copy link
Collaborator

@kellijohnson-NOAA kellijohnson-NOAA left a comment

Choose a reason for hiding this comment

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

There are a few typos but the biggest thing that I found was the use of "stock" where we want to use population.

#' environmental conditions.
#' The mass of fish (males and females or females only) in the
#' population that contribute to reproduction. Often conventionally
#' defined as the product of weight-at-age and the proportion
Copy link
Collaborator

Choose a reason for hiding this comment

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

weight-at-age should be "weight at age"

#' The mass of fish (males and females or females only) in the
#' population that contribute to reproduction. Often conventionally
#' defined as the product of weight-at-age and the proportion
#' mature-at-age. Alternatively, it can be defined as the biomass of
Copy link
Collaborator

Choose a reason for hiding this comment

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

mature-at-age should be mature at age

#' defined as the product of weight-at-age and the proportion
#' mature-at-age. Alternatively, it can be defined as the biomass of
#' all individuals at or above “age at 50 percent maturity” or “size
#' at 50 percent maturity.” or the total biomass of fish of reproductive
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove the full stop after maturity

#' mature-at-age. Alternatively, it can be defined as the biomass of
#' all individuals at or above “age at 50 percent maturity” or “size
#' at 50 percent maturity.” or the total biomass of fish of reproductive
#' age during the breeding season of a stock. Most often used as a proxy
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove "of a stock"

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That is our bad, since it was in the original text too. I agree that this should be revised.

#' at 50 percent maturity.” or the total biomass of fish of reproductive
#' age during the breeding season of a stock. Most often used as a proxy
#' for measuring egg production, the spawning biomass depends on the
#' abundance of the various age classes composing the stock and their
Copy link
Collaborator

Choose a reason for hiding this comment

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

change stock to population

#' all individuals at or above “age at 50 percent maturity” or “size
#' at 50 percent maturity.” or the total biomass of fish of reproductive
#' age during the breeding season of a stock. Most often used as a proxy
#' for measuring egg production, the spawning biomass depends on the
Copy link
Collaborator

Choose a reason for hiding this comment

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

"Most often used as a proxy for measuring egg production" does not seem to be tied to the rest of the sentence 🤷 . With the comma after the clause it appears to be a qualifying statement but I am not seeing the connection. Perhaps make it its own sentence and put it at the end of the paragraph.

man/Catch.Rd Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

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

I am guessing that this change in Catch.Rd is a byproduct of some other commit without the documentation being rendered? Perhaps we should move it into its own commit?

1. Minor text edits
2. Remove the word stock and replace with population
3. Revise size at first maturity to 50%
4. Add definition that is can be the product of weight at age and proportion mature at age
@chantelwetzel-noaa
Copy link
Collaborator Author

@kellijohnson-NOAA I have separated out the catch edits to its own commit and have made the suggested edits for spawning biomass.

@chantelwetzel-noaa
Copy link
Collaborator Author

@Bai-Li-NOAA I think me question to you in this review is about the Shiny page. Should the process to be to publish the revised webpage post-merging in the pull request or does that happen automatically with the github actions? Thank you

@Bai-Li-NOAA
Copy link
Contributor

@chantelwetzel-noaa, this is embarrassing, I don't remember how it works. @ChristineStawitz-NOAA might be able to provide a better answer to this question.

@k-doering-NOAA
Copy link
Contributor

@chantelwetzel-noaa and @Bai-Li-NOAA , sorry for lurking, but I think I can help a bit with this one!

I just gave both of you edit permissions on the Shiny app on Posit connect.

It looks like it was published to deploy from a branch called shiny_app and to check automatically for updates on the branch. However, I think the branch no longer exists, so it can't pull in updates.
image

Therefore, it may need to be re-deployed from an existing branch of your choosing, if you would like it to stay automatically up to date. One note is that the manifest file may need to be updated periodically (either manually and pushed to the branch, or through a github action). I didn't look at the ghas in this repo, so apologize if this is already being dealt with!

@chantelwetzel-noaa
Copy link
Collaborator Author

@k-doering-NOAA You are the kind of lurker that everyone loves. Thank you for taking the time to look at this. I'll see If I can get the set back up based on your suggestions.

@chantelwetzel-noaa chantelwetzel-noaa merged commit bb0a598 into main Jul 11, 2024
5 checks passed
@chantelwetzel-noaa chantelwetzel-noaa deleted the update_sb branch July 19, 2024 13:51
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.

4 participants