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

Fix spelling mistake.

Replaced 'centraliced' by 'centralized'
parent 03ce4150
No related branches found
No related tags found
2 merge requests!13PreRelease_V0.1,!12PreRelease_V0.1
......@@ -12,7 +12,7 @@ arguments
ID (1,:) {mustBeNonzeroLengthText} % ID must be provided
figure (1,:) {mustBeFigure} % Checks if figure is a figure object
options.Location {mustBeMember(options.Location ,['local','server','CI-Test'])} = 'local' % storage path
options.Method {mustBeMember(options.Method ,['individual','centraliced'])} = 'individual'
options.Method {mustBeMember(options.Method ,['individual','centralized'])} = 'individual'
options.CopyUserFCN (1,1) {mustBeNumericOrLogical} = true
options.CSV (1,1) {mustBeNumericOrLogical} = false
end
......@@ -66,7 +66,7 @@ end
%% Research data handeling
switch options.Method
case 'centraliced'
case 'centralized'
% check if data folder exists
if ~isfolder(fullfile(storPath,'data'))
mkdir(fullfile(storPath,'data'));
......
......@@ -77,7 +77,7 @@ path.script = mfilename('fullpath'); % filename of the m.script
% file names of the datasets
path.rdata = {dataset1,dataset2} ; % don't forget the extension
PlotID.Publish(path, ID, fig(1), 'Location', 'server' ,'Method','centraliced')
PlotID.Publish(path, ID, fig(1), 'Location', 'server' ,'Method','centralized')
%% Example 2: multiple plots plot, all based on data-set2 (hdf5)
% for individual data-sets, use an appropriate array
......@@ -98,7 +98,7 @@ path.rdata = {dataset2} ; % don't forget the extension
% publsihing via for-loop
for i=1: numel(fig)
PlotID.Publish(path, IDs{i}, fig(i), 'Location', 'local','Method','centraliced');
PlotID.Publish(path, IDs{i}, fig(i), 'Location', 'local','Method','centralized');
end
%% Second Plot with identical data to test centralized method
......@@ -111,4 +111,4 @@ plot(x1,y1,'-r');
[fig2, ID] = PlotID.TagPlot(fig2,'ProjectID', ProjectID);
PlotID.Publish(path, ID, fig2, 'Location', 'local','Method','centraliced')
\ No newline at end of file
PlotID.Publish(path, ID, fig2, 'Location', 'local','Method','centralized')
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment