Skip to content

Commit

Permalink
fix bug #196
Browse files Browse the repository at this point in the history
  • Loading branch information
kennedy-mindermann committed Dec 19, 2024
1 parent d2c0f87 commit c067c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runbatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def check_compatibility(sw):

### Compatible switch combinations
if sw['GSw_EFS1_AllYearLoad'] == 'historic' :
if ('demand_' + sw['demandscen'] +'.csv') in os.listdir(os.path.join(reeds_path, 'inputs','load')) :
if ('demand_' + sw['demandscen'] +'.csv') not in os.listdir(os.path.join(reeds_path, 'inputs','load')) :
raise ValueError("The demand file specified by the demandscen switch is not in the inputs/load folder")

if sw['GSw_PRM_scenario'] == 'none':
Expand Down

0 comments on commit c067c10

Please sign in to comment.