Skip to content

Commit

Permalink
Remove addTableRow function
Browse files Browse the repository at this point in the history
Error message moved into addRow function.
  • Loading branch information
lawrence-mbf committed Oct 6, 2022
1 parent 2331184 commit 75e9dde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 3 additions & 1 deletion +types/+util/+dynamictable/addRow.m
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ function addRow(DynamicTable, varargin)
types.util.dynamictable.checkConfig(DynamicTable);

if istable(varargin{1})
types.util.dynamictable.addTableRow(DynamicTable, varargin{:});
error("NWB:DynamicTable", ...
['Using MATLAB tables as input to the addRow DynamicTable method has '...
'been deprecated. Please, use key-value pairs instead']);
else
types.util.dynamictable.addVarargRow(DynamicTable, varargin{:});
end
Expand Down
5 changes: 0 additions & 5 deletions +types/+util/+dynamictable/addTableRow.m

This file was deleted.

0 comments on commit 75e9dde

Please sign in to comment.