Skip to content

Commit

Permalink
fix bug in dict access. natcap#1662
Browse files Browse the repository at this point in the history
  • Loading branch information
davemfish committed Feb 11, 2025
1 parent 6901e34 commit 05ae7bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/natcap/invest/spec_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ def generate_metadata(model_module, args_dict):
lineage_statement = (
f'Created by {model_module.__name__}.execute(\n{formatted_args})\n'
f'Version {natcap.invest.__version__}')
keywords = [model_module.MODEL_SPEC.model_id, 'InVEST']
keywords = [model_module.MODEL_SPEC['model_id'], 'InVEST']

def _walk_spec(output_spec, workspace):
for filename, spec_data in output_spec.items():
Expand Down

0 comments on commit 05ae7bc

Please sign in to comment.