Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-andersson committed Sep 19, 2023
1 parent 9207599 commit e28ba4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deepsensor/data/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ def remove_nans_from_task_Y_t_if_present(self):
return self

# NaNs present in self - remove NaNs
for i, (X, Y, Y_t_nans) in enumerate(zip(self["X_t"], self["Y_t"], Y_t_nans_list)):
for i, (X, Y, Y_t_nans) in enumerate(
zip(self["X_t"], self["Y_t"], Y_t_nans_list)
):
if B.any(Y_t_nans):
if isinstance(X, tuple):
# Gridded data
Expand Down

0 comments on commit e28ba4b

Please sign in to comment.