Skip to content
Snippets Groups Projects

Fixes #26

Merged Lemmer, Jan requested to merge 26-fix-remove-adddpath-from-publish into development
1 file
+ 0
3
Compare changes
  • Side-by-side
  • Inline
+ 0
3
@@ -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
Loading