Skip to content

Commit bde1c19

Browse files
Peter N. SteinmetzPeter N. Steinmetz
authored andcommitted
More PEP8 fixups.
1 parent 146de1a commit bde1c19

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

neo/rawio/neuralynxrawio/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
NEV contains events
88
NSE contains spikes and waveforms for mono electrodes
99
NTT contains spikes and waveforms for tetrodes
10-
"""
10+
"""

neo/rawio/neuralynxrawio/ncssections.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ def _parseGivenActualFrequency(ncsMemMap, ncsSects, chanNum, reqFreq, blkOnePred
126126
ncsMemMap:
127127
memmap of Ncs file
128128
ncsSections:
129-
NcsSections with actual sampFreqUsed correct, first NcsSection with proper startSect and
130-
startTime already added.
129+
NcsSections with actual sampFreqUsed correct, first NcsSection with proper startSect
130+
and startTime already added.
131131
chanNum:
132132
channel number that should be present in all records
133133
reqFreq:
@@ -207,7 +207,8 @@ def _buildGivenActualFrequency(ncsMemMap, actualSampFreq, reqFreq):
207207
lastBlkI = ncsMemMap.shape[0] - 1
208208
rhl = CscRecordHeader(ncsMemMap, lastBlkI)
209209
predLastBlockStartTime = NcsSectionsFactory.calc_sample_time(actualSampFreq, rh0.timestamp,
210-
NcsSection._RECORD_SIZE * lastBlkI)
210+
NcsSection._RECORD_SIZE *
211+
lastBlkI)
211212
if rhl.channel_id == chanNum and rhl.sample_rate == reqFreq and \
212213
rhl.timestamp == predLastBlockStartTime:
213214
lastBlkEndTime = NcsSectionsFactory.calc_sample_time(actualSampFreq, rhl.timestamp,
@@ -297,7 +298,8 @@ def _parseForMaxGap(ncsMemMap, ncsSects, maxGapLen):
297298
curBlock.endTime = endTime
298299

299300
ncsSects.sampFreqUsed = maxBlkFreqEstimate
300-
ncsSects.microsPerSampUsed = NcsSectionsFactory.get_micros_per_samp_for_freq(maxBlkFreqEstimate)
301+
ncsSects.microsPerSampUsed = NcsSectionsFactory.get_micros_per_samp_for_freq(
302+
maxBlkFreqEstimate)
301303

302304
return ncsSects
303305

0 commit comments

Comments
 (0)