Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandratrapani committed Jul 30, 2024
1 parent 0845258 commit c962ab8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nwbinspector/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def is_ascending_series(series: Union[h5py.Dataset, ArrayLike], nelems: Optional
data = series[:nelems]

# Remove NaN values from the series
data = np.array(data)
valid_data = data[~np.isnan(data)]

# Compute the differences between consecutive elements
Expand Down

0 comments on commit c962ab8

Please sign in to comment.