Skip to content

Commit

Permalink
Possible fix for static code analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
sidekock committed Nov 4, 2024
1 parent db953fb commit eff9248
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pysteps/nowcasts/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ def __check_inputs(self):
"""
Validate the inputs to ensure consistency and correct shapes.
"""

if self.__precip.ndim != 3:
raise ValueError("precip must be a three-dimensional array")

Check warning on line 226 in pysteps/nowcasts/steps.py

View check run for this annotation

Codecov / codecov/patch

pysteps/nowcasts/steps.py#L226

Added line #L226 was not covered by tests
if self.__precip.shape[0] < self.__config.ar_order + 1:
Expand Down

0 comments on commit eff9248

Please sign in to comment.