Skip to content

Commit

Permalink
Merge branch 'develop' into release/MAPL-v3
Browse files Browse the repository at this point in the history
  • Loading branch information
mathomp4 committed Feb 4, 2025
2 parents 3c6fb2d + 5badf8d commit 0f5be5b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Apps/MAPL_GridCompSpecs_ACG.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def get_mandatory_options(cls):
'VLOCATION': ('vlocation', VLOCATION_EMIT),
'VLOC': ('vlocation', VLOCATION_EMIT),
# these are Options that are not output but used to write
'ALIAS': ('alias', identity_emit, False, False),
'CONDITION': ('condition', identity_emit, False, False),
'COND': ('condition', identity_emit, False, False),
'ALLOC': ('alloc', identity_emit, False, False),
Expand Down Expand Up @@ -463,6 +464,7 @@ def digest(specs, args):
for spec in specs[category]: # spec from list
dims = None
ungridded = None
alias = None
option_values = dict() # dict of option values
for column in spec: # for spec emit value
column_value = spec[column]
Expand All @@ -480,6 +482,10 @@ def digest(specs, args):
dims = option_value
elif option == Option.UNGRIDDED:
ungridded = option_value
elif option == Option.ALIAS:
alias = Option.ALIAS(column_value)
if alias:
option_values[Option.INTERNAL_NAME] = alias
# MANDATORY
for option in mandatory_options:
if option not in option_values:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

### Changed
- Add column for ACG (ALIAS) that set the pointer variable to a different name than the `short_name`

### Fixed

Expand Down

0 comments on commit 0f5be5b

Please sign in to comment.