From c5208d76d84a69a0155c76d40700e55ad080a031 Mon Sep 17 00:00:00 2001
From: galperti <cristian.galperti@epfl.ch>
Date: Tue, 21 Jun 2022 11:25:44 +0200
Subject: [PATCH] parsecontructorcommon -> parseconstructor

---
 classes/SCDclass_mdswg.m          | 4 ++--
 classes/SCDclass_mdswgsigarray1.m | 2 +-
 classes/SCDclass_mdswgsigsingle.m | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/classes/SCDclass_mdswg.m b/classes/SCDclass_mdswg.m
index 6fd2072..dec6d28 100644
--- a/classes/SCDclass_mdswg.m
+++ b/classes/SCDclass_mdswg.m
@@ -43,12 +43,12 @@ classdef SCDclass_mdswg < matlab.mixin.Heterogeneous
             addParameter(obj.cparser,'modelname','',@(x) ischar(x));
             addParameter(obj.cparser,'mdshelp','',@(x) ischar(x));
             addParameter(obj.cparser,'mdsvalid','1',@(x) ischar(x));
-
+            
             obj.verbose=1;
             obj.wavegenbasestruct='';
         end
         
-        function obj=parseconstructorcommon(obj, srctdi, destwavegen, varargin)
+        function obj=parseconstructor(obj, srctdi, destwavegen, varargin)
             parse(obj.cparser,srctdi,destwavegen,varargin{:}{:});
            
             obj.mdsserver=obj.cparser.Results.srcsrv;
diff --git a/classes/SCDclass_mdswgsigarray1.m b/classes/SCDclass_mdswgsigarray1.m
index 293a718..a109135 100644
--- a/classes/SCDclass_mdswgsigarray1.m
+++ b/classes/SCDclass_mdswgsigarray1.m
@@ -28,7 +28,7 @@ classdef SCDclass_mdswgsigarray1 < SCDclass_mdswg
             %p.addParameter('destinterval',srcinterval,intervalchecker);
             %parse(p,varargin{:});
             
-            obj=obj.parseconstructorcommon(srctdi, destwavegen, varargin);
+            obj=obj.parseconstructor(srctdi, destwavegen, varargin);
             
             dstinterval=obj.cparser.Results.destinterval;
               
diff --git a/classes/SCDclass_mdswgsigsingle.m b/classes/SCDclass_mdswgsigsingle.m
index 9293dd2..21cf8f7 100644
--- a/classes/SCDclass_mdswgsigsingle.m
+++ b/classes/SCDclass_mdswgsigsingle.m
@@ -19,7 +19,7 @@ classdef SCDclass_mdswgsigsingle < SCDclass_mdswg
             %addParameter(obj.cparser,'destindex',1,destidxvalchecker);
             obj.cparser.addParameter('destindex',1,destidxvalchecker)
 
-            obj=obj.parseconstructorcommon(srctdi, destwavegen, varargin);
+            obj=obj.parseconstructor(srctdi, destwavegen, varargin);
                         
             %parse(p,varargin{:});
             obj.destidx=obj.cparser.Results.destindex;
-- 
GitLab