Changeset 12733
- Timestamp:
- 07/25/12 11:24:15 (13 years ago)
- Location:
- issm/trunk-jpl/src/m
- Files:
-
- 6 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/model/MatlabProcessPatch.m
r12026 r12733 5 5 % Result=ProcessPatch(Result); 6 6 7 %return if there is no fiel Patch7 %return if there is no field Patch 8 8 if (~isfield(structure,'Patch')), 9 9 return; -
issm/trunk-jpl/src/m/model/marshall.py
r12667 r12733 16 16 #open file for binary writing 17 17 try: 18 fid=open(md.miscellaneous.name+'.bin','wb') ;18 fid=open(md.miscellaneous.name+'.bin','wb') 19 19 except IOError as e: 20 print "marshall error message: could not open '%s.bin' file for binary writing." % md.miscellaneous.name 21 raise IOError(e) 20 raise IOError("marshall error message: could not open '%s.bin' file for binary writing." % md.miscellaneous.name) 22 21 23 22 #First, write MaximumNumberOfEnum to make sure that the Enums are synchronized … … 45 44 f.close(fid) 46 45 except IOError as e: 47 print "marshall error message: could not close file '%s.bin'." % md.miscellaneous.name 48 raise IOError(e) 46 raise IOError("marshall error message: could not close file '%s.bin'." % md.miscellaneous.name) 49 47 -
issm/trunk-jpl/src/m/model/parseresultsfromdisk.m
r10399 r12733 172 172 % }}} 173 173 function result=ReadDataDimensions(fid) % {{{ 174 %READDATA - read data dimensions, step and time, but not the data itself.174 %READDATADIMENSIONS - read data dimensions, step and time, but not the data itself. 175 175 % 176 176 % Usage:
Note:
See TracChangeset
for help on using the changeset viewer.