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

Merge branch '26-fix-remove-adddpath-from-publish' into 'development'

Fixes #26

See merge request fst-tuda/projects/nfdi4ing/projects/plot_identifier!10
parents d98c1eb4 20486f19
No related branches found
No related tags found
3 merge requests!13PreRelease_V0.1,!12PreRelease_V0.1,!10Fixes #26
Pipeline #561519 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