Skip to content

Commit 8e7e67c

Browse files
committed
pep8 compliance
1 parent a04f580 commit 8e7e67c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

neo/io/neomatlabio.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ def write_block(self, bl, **kargs):
267267
seg_struct['imagesequences'].append(image_sq_structure)
268268

269269
for group in bl.groups:
270-
group_structure = self.create_struct_from_obj(group)
271-
bl_struct['groups'].append(group_structure)
270+
group_structure = self.create_struct_from_obj(group)
271+
bl_struct['groups'].append(group_structure)
272272

273273
scipy.io.savemat(self.filename, {'block': bl_struct}, oned_as='row')
274274

@@ -358,7 +358,7 @@ def create_ob_from_struct(self, struct, classname):
358358
if len(arr) > 0:
359359
data_complement["spatial_scale"] = arr
360360
else:
361-
pass #
361+
pass #
362362

363363
if "times" in (at[0] for at in cl._necessary_attrs) and quantity_attr != "times":
364364
# handle IrregularlySampledSignal

neo/test/iotest/test_neomatlabio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def test_write_read_single_spike(self):
6363
block2.segments[0].irregularlysampledsignals[0].magnitude)
6464
assert_array_equal(block1.segments[0].irregularlysampledsignals[0].times,
6565
block2.segments[0].irregularlysampledsignals[0].times)
66-
66+
6767
assert_array_equal(block1.segments[0].imagesequences[0],
6868
block2.segments[0].imagesequences[0])
6969

0 commit comments

Comments
 (0)