Skip to content

Commit 567b6eb

Browse files
author
Roshan Nanu
committed
debug function to fix unit numberings in h5 file
1 parent 76b18bc commit 567b6eb

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGES.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
v2.1.17 (2021-9-6)
2+
-------------------
3+
- debug last update
4+
15
v2.1.16 (2021-9-4)
26
-------------------
37
- debug last update

blechpy/dio/h5io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1406,7 +1406,7 @@ def fix_unit_numbering(file_dir):
14061406
hf5.rename_node('/sorted_units', newname=u2, name=u1)
14071407
m1 = os.path.join(metrics_dir, u1)
14081408
m2 = os.path.join(metrics_dir, u2)
1409-
if os.path.isidir(m1):
1409+
if os.path.isdir(m1):
14101410
os.rename(m1,m2)
14111411

14121412
p1 = os.path.join(plot_dir, f'Unit{x}.png')

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
setuptools.setup(
1616
name='blechpy',
17-
version='2.1.16',
17+
version='2.1.17',
1818
author='Roshan Nanu',
1919
author_email='roshan.nanu@gmail.com',
2020
description='Package for exrtacting, processing and analyzing Intan and OpenEphys data',

0 commit comments

Comments
 (0)