From 2f316127e7d189b65625b3ba7e9af14bc04b0c9d Mon Sep 17 00:00:00 2001 From: "M. Hock" <martin.hock@fst.tu-darmstadt.de> Date: Tue, 21 Sep 2021 15:02:14 +0200 Subject: [PATCH] Fix spelling mistake. Replaced 'centraliced' by 'centralized' --- +PlotID/Publish.m | 4 ++-- example.m | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/+PlotID/Publish.m b/+PlotID/Publish.m index 7fa9b2d..4c7b154 100644 --- a/+PlotID/Publish.m +++ b/+PlotID/Publish.m @@ -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')); diff --git a/example.m b/example.m index a757121..25707e6 100644 --- a/example.m +++ b/example.m @@ -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 -- GitLab