Skip to content

Commit

Permalink
Remove duplicated warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ppinchuk committed Jun 24, 2024
1 parent b43b6fc commit 594369d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions reV/bespoke/bespoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -912,15 +912,6 @@ def res_df(self):
ti_step = self.original_sam_sys_inputs["time_index_step"]
self._res_df = self._res_df.iloc[::ti_step]

if len(self._res_df) < 8760:
msg = (f"Detected resource time series of length "
f"{len(self._res_df)}, 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")
logger.warning(msg)
warn(msg)

return self._res_df

@property
Expand Down

0 comments on commit 594369d

Please sign in to comment.