Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ppinchuk committed Jun 24, 2024
1 parent 594369d commit 0e7831a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions reV/SAM/generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,10 @@ def check_resource_data(self, resource):
raise InputError(msg)

if len(resource) < 8760:
msg = (f"Detected resource time series of length "
f"{len(resource)}, which is less than 8760. This may "
f"yeild unexpected results or fail altogether. If this "
f"is not intentional, try setting 'time_index_step: 1' "
f"in your SAM config")
msg = (f"Detected resource time series of length {len(resource)}, "
"which is less than 8760. This may yield unexpected "
"results or fail altogether. If this is not intentional, "
"try setting 'time_index_step: 1' in your SAM config")
logger.warning(msg)
warn(msg)

Expand Down

0 comments on commit 0e7831a

Please sign in to comment.