Skip to content

Commit 13d04c2

Browse files
authored
make add_row call add_vector (#726)
fix #724
1 parent ce7bf27 commit 13d04c2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/pynwb/core.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,7 @@ def add_vector(self, arg):
374374
self.data.append(len(self.target))
375375

376376
def add_row(self, arg):
377-
self.target.extend(arg)
378-
self.data.append(len(self.target))
377+
self.add_vector(arg)
379378

380379
def __getitem_helper(self, arg):
381380
start = 0 if arg == 0 else self.data[arg-1]

0 commit comments

Comments
 (0)