From c5e3a9346d84c34a8b90047ce6d2aa7c8006aa1a Mon Sep 17 00:00:00 2001 From: Andrew Davison Date: Tue, 30 Jan 2024 12:15:23 +0100 Subject: [PATCH] Remove debug arguments left in accidentally --- neo/io/neomatlabio.py | 2 -- neo/test/iotest/test_neomatlabio.py | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/neo/io/neomatlabio.py b/neo/io/neomatlabio.py index 804b9062f..ade71e146 100644 --- a/neo/io/neomatlabio.py +++ b/neo/io/neomatlabio.py @@ -304,8 +304,6 @@ def write_block(self, bl, **kargs): else: group_structure[container_name].append(id(child_obj)) - if kargs.get("debug", False): - breakpoint() scipy.io.savemat(self.filename, {"block": bl_struct}, oned_as="row") def _get_matlab_value(self, ob, attrname): diff --git a/neo/test/iotest/test_neomatlabio.py b/neo/test/iotest/test_neomatlabio.py index 3dfb3042b..058c130c0 100644 --- a/neo/test/iotest/test_neomatlabio.py +++ b/neo/test/iotest/test_neomatlabio.py @@ -52,7 +52,7 @@ def test_write_read_single_spike(self): # write block filename = self.get_local_path('matlabiotestfile.mat') io1 = self.ioclass(filename) - io1.write_block(block1, debug=False) + io1.write_block(block1) # read block io2 = self.ioclass(filename) @@ -89,7 +89,7 @@ def test_write_read_random_blocks(self): # write block to file filename_orig = self.get_local_path(f"matlabio_randomtest_orig_{i}.mat") io1 = self.ioclass(filename_orig) - io1.write_block(block1, debug=False) + io1.write_block(block1) # read block io2 = self.ioclass(filename_orig)