From 03ce41501c8fb00f6a93b446536e23835463877e Mon Sep 17 00:00:00 2001
From: Jan Lemmer <jan.lemmer@fst.tu-darmstadt.de>
Date: Tue, 24 Aug 2021 14:59:52 +0200
Subject: [PATCH] BugFix

---
 +PlotID/Publish.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/+PlotID/Publish.m b/+PlotID/Publish.m
index 414da65..7fa9b2d 100644
--- a/+PlotID/Publish.m
+++ b/+PlotID/Publish.m
@@ -83,7 +83,7 @@ switch options.Method
             [~, idx] = PlotID.fileCompare(DataPaths.rdata{i},fList);
             % create Linked HDF5 files for identical files
             if any(idx)
-            sourcePath = fList.name{idx}; % If there are multiple copies already, this only picks the last entry
+            sourcePath = fList{idx,'name'}; % If there are multiple copies already, this only picks the last entry
             if contains(sourcePath,{'.h5','.hdf5'}) % Linking only for HDF5
                 PlotID.createLinkedHDF5(sourcePath,storPath,ID);
             end
-- 
GitLab