From d521db8cb87d1b3990c91e54ae0feff28f9f61d0 Mon Sep 17 00:00:00 2001 From: ThorBarRa Date: Wed, 4 Mar 2026 17:04:02 +0100 Subject: [PATCH] Now uses helper function to merge data tables with different columns --- beamtime/nappFileList.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/beamtime/nappFileList.m b/beamtime/nappFileList.m index 144ee1f..fa52d82 100755 --- a/beamtime/nappFileList.m +++ b/beamtime/nappFileList.m @@ -1431,7 +1431,8 @@ if istable(p.Results.DataTable) % do this only if previous list was input to fun % merge tables (append imported data to previous table) - ListFiles = [p.Results.DataTable; ListFiles]; + % ListFiles = [p.Results.DataTable; ListFiles]; + ListFiles = outerjoinRowToTable(p.Results.DataTable, ListFiles); % Then, we sort the table based on the time (datenum) ListFiles = sortrows(ListFiles,'lastModifiedDatenum'); end