[Fix]: remove grouping override#282
Open
Schiano-NOAA wants to merge 2 commits into
Open
Conversation
Contributor
New version checklist
|
Collaborator
Author
|
@kellijohnson-NOAA could you check this branch solves your issue? |
Contributor
Code Metrics Report
Code coverage of files in pull request scope (63.7%)
Reported by octocov |
Collaborator
|
❌ Did not work because it changed my column name to have an upper case first letter. So, I tried changing to "Retrospective_peel" but that did not work either. I got the same "Ignoring unknown labels" message |
Collaborator
Author
|
@kellijohnson-NOAA Huh interesting! I'll test more and adjust tomorrow. Thanks for checking it for me! |
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.
I am removing the code that overrides group when user input something that was not in the index variables. The function
check_grouping()(internal) only matches a certain number of potential grouping variables so it will cause a plot to plot incorrectly when some other id variable is present. This removes this issue, but the error still persists unless the user puts the explicit column name for grouping in thegroupargument.For example, group = "fleet" will be recognizes whether a user inputs the column as an argument or not. The column name "retrospective" will not be automatically detected as an index variable in group, so the plot will look off and not contain the information in the legend. But if the user explicitly states group = "retrospective" in the argument for the plot, it will plot correctly.