Index: /issm/trunk-jpl/src/m/classes/massconaxpby.m
===================================================================
--- /issm/trunk-jpl/src/m/classes/massconaxpby.m	(revision 21744)
+++ /issm/trunk-jpl/src/m/classes/massconaxpby.m	(revision 21745)
@@ -3,5 +3,5 @@
 %   Usage:
 %      massconaxpby=massconaxpby();
-%      massconsumaxpby=massconaxpby('name','MassCon58+35','namex','MassCon58','alpha',.5,'namey','MassCon35','beta',.5); 
+%      massconaxpby=massconaxpby('name','MassCon58+35','namex','MassCon58','alpha',.5,'namey','MassCon35','beta',.5); 
 % 
 %   where name is the name of the massconaxpby object, namex is the name of the first masscon, namey the name of the second masscon and alpha,beta the 
@@ -77,11 +77,10 @@
 		function md = marshall(self,prefix,md,fid) % {{{
 
-		WriteData(fid,prefix,'object',self,'fieldname','name','format','String');
-		WriteData(fid,prefix,'object',self,'fieldname','definitionstring','format','Integer');
-		WriteData(fid,prefix,'object',self,'fieldname','namex','format','String');
-		WriteData(fid,prefix,'object',self,'fieldname','namey','format','String');
-		WriteData(fid,prefix,'object',self,'fieldname','alpha','format','Double');
-		WriteData(fid,prefix,'object',self,'fieldname','beta','format','Double');
-
+		WriteData(fid,prefix,'data',self.name,'name','md.massconaxpby.name','format','String');
+		WriteData(fid,prefix,'data',self.definitionstring,'name','md.massconaxpby.definitionstring','format','String');
+		WriteData(fid,prefix,'data',self.namex,'name','md.massconaxpby.namex','format','String');
+		WriteData(fid,prefix,'data',self.namey,'name','md.massconaxpby.namey','format','String');
+		WriteData(fid,prefix,'data',self.alpha,'name','md.massconaxpby.alpha','format','Double');
+		WriteData(fid,prefix,'data',self.beta,'name','md.massconaxpby.beta','format','Double');
 		end % }}}
 	end
