Skip to content

Commit

Permalink
fix years to analysis years bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MRossol committed Apr 22, 2021
1 parent cd15a4b commit e2c0c54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_gen_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ def test_gen_from_config(runner, tech): # noqa: C901
raise RuntimeError(msg)

# get reV 1.0 generation profiles
rev1_profiles = get_r1_profiles(year=config_obj.years[0], tech=tech)
rev1_profiles = \
get_r1_profiles(year=config_obj.analysis_years[0], tech=tech)
rev1_profiles = \
rev1_profiles[:, config_obj.parse_points_control().sites]

Expand Down

0 comments on commit e2c0c54

Please sign in to comment.