Skip to content

Commit

Permalink
Remove debug arguments left in accidentally
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed Jan 30, 2024
1 parent 5b4b459 commit c5e3a93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions neo/io/neomatlabio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
4 changes: 2 additions & 2 deletions neo/test/iotest/test_neomatlabio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit c5e3a93

Please sign in to comment.