-
Notifications
You must be signed in to change notification settings - Fork 38
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
Bugfix: Fix PCPCombine extra options removal of semi-colon #1534
Labels
Milestone
Comments
georgemccabe
added a commit
that referenced
this issue
Mar 23, 2022
…r extra field options if not found (currently fails)
georgemccabe
added a commit
that referenced
this issue
Mar 23, 2022
…from list if it is not following square brackets []s (currently fails)
georgemccabe
added a commit
that referenced
this issue
Mar 23, 2022
…list if it is not following square brackets []s
georgemccabe
added a commit
that referenced
this issue
Mar 23, 2022
…at the beginning of the input string) are handled properly
georgemccabe
added a commit
that referenced
this issue
Mar 23, 2022
…e is removed properly, ci-run-all-diff
georgemccabe
added a commit
that referenced
this issue
Apr 18, 2022
…r extra field options if not found (currently fails)
georgemccabe
added a commit
that referenced
this issue
Apr 18, 2022
…from list if it is not following square brackets []s (currently fails)
georgemccabe
added a commit
that referenced
this issue
Apr 18, 2022
…at the beginning of the input string) are handled properly
georgemccabe
added a commit
that referenced
this issue
Apr 18, 2022
…list if it is not following square brackets []s
georgemccabe
added a commit
that referenced
this issue
Apr 18, 2022
…e is removed properly, ci-run-all-diff
This was
linked to
pull requests
Apr 18, 2022
georgemccabe
added a commit
that referenced
this issue
Apr 20, 2022
* per #1534, add unit test for properly adding a trailing semi-colon for extra field options if not found (currently fails) * per #1534, add unit test for properly preserving trailing semi-colon from list if it is not following square brackets []s (currently fails) * added test for specifying multiple extra field options, ci-run-all-diff * per #1534, added a test to ensure lists with line breaks (especially at the beginning of the input string) are handled properly * per #1534, fix logic to properly preserving trailing semi-colon from list if it is not following square brackets []s * per #1534, add additional strip commands to ensure that all whitespace is removed properly, ci-run-all-diff * per #1534, fix logic to properly adding a trailing semi-colon for extra field options if not found
Repository owner
moved this from Pull request review
to Done
in Coordinated METplus-4.1 Support
Apr 20, 2022
Repository owner
moved this from Review
to Done
in METplus-Wrappers-5.0.0-beta1 (6/22/22)
Apr 20, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Logic was added for #1212 to properly handle lists in METplus config files that were formatted like lists in MET config files, i.e.
["value1", "value2"];
However, the logic incorrectly removes trailing semi-colons when they are not closing a MET format list. This was discovered in PCPCombine wrapper when setting:
FCST_PCP_COMBINE_INPUT_OPTIONS = file_type = NETCDF_NCCF;
When setting extra options for field info, the semi-colon after a single option should be optional and should be added automatically, so the following should also work:
FCST_PCP_COMBINE_INPUT_OPTIONS = file_type = NETCDF_NCCF
Describe the Problem
See above
Expected Behavior
Adding each of the variable examples above to parm/use_cases/met_tool_wrapper/PCPCombine/PCPCombine_add.conf should not cause a failure.
Environment
Describe your runtime environment:
1. Machine: (e.g. HPC name, Linux Workstation, Mac Laptop)
2. OS: (e.g. RedHat Linux, MacOS)
3. Software version number(s)
To Reproduce
Describe the steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
Post relevant sample data following these instructions:
https://dtcenter.org/community-code/model-evaluation-tools-met/met-help-desk#ftp
Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee
Labels
Projects and Milestone
Define Related Issue(s)
Consider the impact to the other METplus components.
Bugfix Checklist
See the METplus Workflow for details.
Branch name:
bugfix_<Issue Number>_main_<Version>_<Description>
Pull request:
bugfix <Issue Number> main_<Version> <Description>
Select: Reviewer(s) and Linked issues
Select: Organization level software support Project for the current coordinated release
Select: Milestone as the next bugfix version
Branch name:
bugfix_<Issue Number>_develop_<Description>
Pull request:
bugfix <Issue Number> develop <Description>
Select: Reviewer(s) and Linked issues
Select: Repository level development cycle Project for the next official release
Select: Milestone as the next official version
The text was updated successfully, but these errors were encountered: