Skip to content

Commit d69b7e7

Browse files
committed
fixup add inactive description
1 parent 6584e84 commit d69b7e7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

compass/ocean/tests/global_ocean/metadata.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ def _get_metadata(dsInit, config):
122122

123123
descriptions = dict()
124124

125-
for prefix in ['mesh', 'init', 'bathy', 'bgc', 'wisc', 'inactive_top_cells']:
125+
for prefix in ['mesh', 'init', 'bathy', 'bgc', 'wisc',
126+
'inactive_top_cells']:
126127
option = '{}_description'.format(prefix)
127128
if config.has_option('global_ocean', option):
128129
description = config.get('global_ocean', option)
@@ -156,7 +157,8 @@ def _get_metadata(dsInit, config):
156157
metadata['MPAS_Mesh_Biogeochemistry'] = descriptions['bgc']
157158

158159
if 'inactive_top_cells' in descriptions:
159-
metadata['MPAS_Mesh_Inactive_Top_Cells'] = descriptions['inactive_top_cells']
160+
metadata['MPAS_Mesh_Inactive_Top_Cells'] = \
161+
descriptions['inactive_top_cells']
160162

161163
packages = {'compass': 'compass', 'JIGSAW': 'jigsaw',
162164
'JIGSAW-Python': 'jigsawpy', 'MPAS-Tools': 'mpas_tools',

0 commit comments

Comments
 (0)