Skip to content
Snippets Groups Projects

Add status assignment for the case of a non-HDF5-file in centralized. Fix...

Merged Hock, Martin requested to merge fix/centralized-status into master
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
+ 3
1
@@ -39,6 +39,8 @@ for i=1:numel(dataObj.DataPaths)
if contains(sourcePath,{'.h5','.hdf5'}) % Linking only for HDF5
linkedHDFPath = fullfile(storPath,folderName);
[status] = PlotID.createLinkedHDF5(relativeSourcePath{1,1},linkedHDFPath);
else % Non-HDF5 file already exists
[status] = true;
end
else % no identical file exists
%Copy the file in data and create the links (if hdf5)
@@ -58,7 +60,7 @@ for i=1:numel(dataObj.DataPaths)
else
warning(['You use the centralized method for non hdf files,',...
newline, 'Your research files are located in the ',...
DataFolederName , 'folder.']);
DataFolderName , 'folder.']);
status = true;
end %if
end %if
Loading