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

Feature/acg extra rm brackets 1750 #3462

Merged
merged 3 commits into from
Mar 4, 2025

Conversation

darianboggs
Copy link
Contributor

Types of change(s)

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Trivial change (affects only documentation or cleanup)
  • Refactor (no functional changes, no api changes)

Checklist

  • Tested this change with a run of GEOSgcm
  • Ran the Unit Tests (make tests)

Description

When a column in a StateSpecs file is array-valued, and the user mistakenly puts array brackets ([ and ]) around the column value. The resulting include file is double brackets ([[ and ]]) which is wrong. This PR handles this more gracefully. With it, the column value can have array brackets, but they are not required. In the resulting include file, ACG writes a single set of array brackets. Because this problem has not been reported, I did not make it to ACG for MAPL2. It is worth correcting it in ACG3.

Related Issue

#1750

@darianboggs darianboggs added 🎁 New Feature This is a new feature 0 Diff The changes in this pull request have verified to be zero-diff with the target branch. 📈 MAPL3 MAPL 3 Related labels Mar 4, 2025
@darianboggs darianboggs self-assigned this Mar 4, 2025
@darianboggs darianboggs requested a review from a team as a code owner March 4, 2025 19:42
tclune
tclune previously approved these changes Mar 4, 2025
@darianboggs
Copy link
Contributor Author

The only change was resolving the conflict in CHANGELOG.md.

@darianboggs darianboggs requested a review from tclune March 4, 2025 20:19
@tclune tclune merged commit a1d18fb into release/MAPL-v3 Mar 4, 2025
25 checks passed
@tclune tclune deleted the feature/acg_extra_rm_brackets_1750 branch March 4, 2025 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 Diff The changes in this pull request have verified to be zero-diff with the target branch. 📈 MAPL3 MAPL 3 Related 🎁 New Feature This is a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants