Skip to content

Commit 653579b

Browse files
authored
Fix variable name for valid times in lfp_band.py
1 parent 32b6950 commit 653579b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/spyglass/lfp/analysis/v1/lfp_band.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,10 +462,10 @@ def make(self, key: dict) -> None:
462462
}
463463
).fetch("valid_times")
464464
lfp_band_valid_times = lfp_band_valid_times.censor(new_timestamps)
465-
lfp_valid_times.set_key(**key, pipeline="lfp band")
465+
lfp_band_valid_times.set_key(**key, pipeline="lfp band")
466466
if len(tmp_valid_times) == 0: # TODO: swap for cautious_insert
467467
# add an interval list for the LFP valid times
468-
IntervalList.insert1(lfp_valid_times.as_dict)
468+
IntervalList.insert1(lfp_band_valid_times.as_dict)
469469
else:
470470
# check that the valid times are the same
471471
assert np.isclose(

0 commit comments

Comments
 (0)