Skip to content

Commit 3b6fe15

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0299129 commit 3b6fe15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nwbinspector/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ def is_ascending_series(series: Union[h5py.Dataset, ArrayLike], nelems: Optional
9292
if isinstance(series, h5py.Dataset):
9393
differences = np.diff(_cache_data_selection(data=series, selection=slice(nelems)))
9494
else:
95-
differences = np.diff(series[:nelems]) # already in memory, no need to cache
95+
differences = np.diff(series[:nelems]) # already in memory, no need to cache
9696

97-
return np.all(differences >= 0)
97+
return np.all(differences >= 0)
9898

9999

100100
def is_dict_in_string(string: str):

0 commit comments

Comments
 (0)