Skip to content

[Revamp] sr plot use process_data()#243

Merged
Schiano-NOAA merged 4 commits intohotfix-default-erafrom
fix-sr-filt
May 7, 2026
Merged

[Revamp] sr plot use process_data()#243
Schiano-NOAA merged 4 commits intohotfix-default-erafrom
fix-sr-filt

Conversation

@Schiano-NOAA
Copy link
Copy Markdown
Collaborator

@Schiano-NOAA Schiano-NOAA commented May 5, 2026

The stock recruitment plot does not currently use process data and is not working when certain conditions aren't met. This PR make the function more flexible and revamped it on the back end.

Remaining to do:

  • add condition for when expected/predicted recruitment are present and line is plotted on top
  • test

@Schiano-NOAA Schiano-NOAA marked this pull request as ready for review May 6, 2026 14:38
@Schiano-NOAA Schiano-NOAA force-pushed the hotfix-default-era branch from 5c6be3e to 69cd8df Compare May 6, 2026 14:48
Copy link
Copy Markdown
Collaborator

@sbreitbart-NOAA sbreitbart-NOAA left a comment

Choose a reason for hiding this comment

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

Github still won't let me comment on individual lines, so I'll add my comments here. Looks like this is working well! Just one suggestion:

plot_biomass.R
L59: Default should be changed to NULL for this and other functions

@Schiano-NOAA Schiano-NOAA force-pushed the hotfix-default-era branch from 69cd8df to a977c2f Compare May 6, 2026 20:00
@Schiano-NOAA
Copy link
Copy Markdown
Collaborator Author

@sbreitbart-NOAA I am not sure what line your referring to because I rebased. I will need to make this change for the other branch though because this branch does not have changes in plot_biomass

Comment thread man/plot_stock_recruitment.Rd
@Schiano-NOAA Schiano-NOAA merged commit d3f64dc into hotfix-default-era May 7, 2026
1 check passed
@Schiano-NOAA Schiano-NOAA deleted the fix-sr-filt branch May 7, 2026 18:37
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.

2 participants