Skip to content

Commit c5e3a93

Browse files
committed
Remove debug arguments left in accidentally
1 parent 5b4b459 commit c5e3a93

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

neo/io/neomatlabio.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,6 @@ def write_block(self, bl, **kargs):
304304
else:
305305
group_structure[container_name].append(id(child_obj))
306306

307-
if kargs.get("debug", False):
308-
breakpoint()
309307
scipy.io.savemat(self.filename, {"block": bl_struct}, oned_as="row")
310308

311309
def _get_matlab_value(self, ob, attrname):

neo/test/iotest/test_neomatlabio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def test_write_read_single_spike(self):
5252
# write block
5353
filename = self.get_local_path('matlabiotestfile.mat')
5454
io1 = self.ioclass(filename)
55-
io1.write_block(block1, debug=False)
55+
io1.write_block(block1)
5656

5757
# read block
5858
io2 = self.ioclass(filename)
@@ -89,7 +89,7 @@ def test_write_read_random_blocks(self):
8989
# write block to file
9090
filename_orig = self.get_local_path(f"matlabio_randomtest_orig_{i}.mat")
9191
io1 = self.ioclass(filename_orig)
92-
io1.write_block(block1, debug=False)
92+
io1.write_block(block1)
9393

9494
# read block
9595
io2 = self.ioclass(filename_orig)

0 commit comments

Comments
 (0)