Skip to content

Commit a841b3d

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

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/nwbinspector/checks/_ecephys.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ def check_units_table_duration(
173173
# Check for spike_times column (Units table)
174174
if "spike_times" not in units:
175175
return None
176-
176+
177177
idxs = units["spike_times"].data[:]
178-
178+
179179
# remove repeats in idxs array and 0s to remove units with no spikes
180180
idxs = np.unique(np.asarray(idxs))
181181
idxs = idxs[idxs != 0]
@@ -209,4 +209,4 @@ def check_units_table_duration(
209209
)
210210
)
211211

212-
return None
212+
return None

tests/unit_tests/test_tables.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
check_table_values_for_dict,
2020
check_time_interval_time_columns,
2121
check_time_intervals_stop_after_start,
22-
check_units_table_duration,
2322
)
2423

2524

0 commit comments

Comments
 (0)