Skip to content
Snippets Groups Projects
Commit 20486f19 authored by Lemmer, Jan's avatar Lemmer, Jan
Browse files

Fixes #26

parent d98c1eb4
No related branches found
No related tags found
3 merge requests!13PreRelease_V0.1,!12PreRelease_V0.1,!10Fixes #26
Pipeline #561517 failed
......@@ -60,14 +60,12 @@ end
folderName = char(ID);
%% Create Data-Directory
addpath(storPath); % ToDo necessary? -
if isfolder(fullfile(storPath,folderName))
error(['Folder ',folderName, ' exists - Plot was already published ']);
elseif mkdir(fullfile(storPath,folderName))
else
error('Directory could not be created - check remote path and permissions');
end
disp('Publishing started');
%% Create a Copy of the script, config and user functions(optional)
......@@ -90,7 +88,6 @@ if ~configError %config File must exist
fclose(fid);
end
% user functions
if options.CopyUserFCN
fList = fList(~ismember(fList,[DataPaths.script,'.m'])); % rmv script from list
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment