[Fix] plot_spawning_biomass when user wants to use DERIVED_QUANTITIES from SS3#222
Draft
Schiano-NOAA wants to merge 1 commit intodevfrom
Draft
[Fix] plot_spawning_biomass when user wants to use DERIVED_QUANTITIES from SS3#222Schiano-NOAA wants to merge 1 commit intodevfrom
Schiano-NOAA wants to merge 1 commit intodevfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
An issue was identified in
plot_spawning_biomass(and most likely our other plots) when wanting to access specific data. After some investigation, "DERIVED_QUANTITIES" is found in the converted dataset whenera = NULL; however there was still an issue finishing the plot becauseera = NULLin the reference line results in an error. The issue was identified in #219The fix:
Additional changes
@JoelRice-NOAA could you take a look at this and confirm this is working for you now? The best way to do this is the following:
This is what I am getting from the example file in stockplotr: