Skip to content

Commit

Permalink
Updated warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
ppinchuk committed Jun 24, 2024
1 parent 0e7831a commit dc969d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reV/SAM/generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,8 @@ def check_resource_data(self, resource):
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")
"try setting 'time_index_step: 1' in your SAM config or "
"double check the resource input you're using.")
logger.warning(msg)
warn(msg)

Expand Down

0 comments on commit dc969d9

Please sign in to comment.