Skip to content
Snippets Groups Projects
Commit 85c5a7fc authored by M. Hock's avatar M. Hock
Browse files

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

Add status assignment for the case of a non-HDF5-file in centralized. Fix folderName variable misspelling in a warning
parent e353c936
No related branches found
No related tags found
1 merge request!82Add status assignment for the case of a non-HDF5-file in centralized. Fix...
Pipeline #784107 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment