Skip to content

Commit d6b3f73

Browse files
sprengerJuliaSprenger
authored andcommitted
[Neuralynx] fix incorrect section comparison
1 parent 877123a commit d6b3f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/rawio/neuralynxrawio/neuralynxrawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ def scan_ncs_files(self, ncs_filenames):
651651
latest_sections = v[0]
652652
# time tolerance of +- one data package (in microsec)
653653
tolerance = 512 / min(v[0].sampFreqUsed, latest_sections.sampFreqUsed) *1e6
654-
if not v[0].is_equivalent(latest_sections, abs_tol=tolerance):
654+
if v[0].is_equivalent(latest_sections, abs_tol=tolerance):
655655
revSectMap.setdefault(latest_sections, []).append(k)
656656
else:
657657
revSectMap[v[0]] = [k]

0 commit comments

Comments
 (0)