Skip to content

Commit 534c3b0

Browse files
sprengerJuliaSprenger
authored andcommitted
[Neuralynx] fix pep8
1 parent fba6444 commit 534c3b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

neo/rawio/neuralynxrawio/ncssections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def is_equivalent(self, other, rel_tol=0, abs_tol=0):
3232
return False
3333
else:
3434
# do not check for gaps if only a single section is present
35-
for sec_id in range(len(self.sects)-1):
35+
for sec_id in range(len(self.sects) - 1):
3636
if not self.sects[sec_id].is_equivalent(
3737
other.sects[sec_id], rel_tol=rel_tol, abs_tol=abs_tol):
3838
return False

neo/rawio/neuralynxrawio/neuralynxrawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ def scan_ncs_files(self, ncs_filenames):
650650
if i == 0: # start initially with first Ncssections
651651
latest_sections = v[0]
652652
# time tolerance of +- one data package (in microsec)
653-
tolerance = 512 / min(v[0].sampFreqUsed, latest_sections.sampFreqUsed) *1e6
653+
tolerance = 512 / min(v[0].sampFreqUsed, latest_sections.sampFreqUsed) * 1e6
654654
if v[0].is_equivalent(latest_sections, abs_tol=tolerance):
655655
revSectMap.setdefault(latest_sections, []).append(k)
656656
else:

0 commit comments

Comments
 (0)