Skip to content

Commit

Permalink
handle the case where the grid points path is empty or None natcap#1417
Browse files Browse the repository at this point in the history
  • Loading branch information
emlys committed Sep 27, 2023
1 parent fd8fb7e commit e577c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/natcap/invest/wind_energy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@ def execute(args):
LOGGER.info('Valuation Not Selected. Model completed')
return

if 'grid_points_path' in args:
if 'grid_points_path' in args and args['grid_points_path']:
# Handle Grid Points
LOGGER.info('Grid Points Provided. Reading in the grid points')

Expand Down

0 comments on commit e577c67

Please sign in to comment.