Changeset 25315
- Timestamp:
- 07/30/20 13:02:01 (5 years ago)
- Location:
- issm/trunk-jpl/src/m/solve
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/solve/marshall.m
r25161 r25315 43 43 %close file 44 44 st=fclose(fid); 45 % % Uncomment the following to make a copy of the binary input file for debugging 46 % % purposes (can be fed into scripts/ReadBin.py). 47 % copyfile([md.miscellaneous.name '.bin'], [md.miscellaneous.name '.m.bin']) 45 48 if st==-1, 46 49 error(['marshall error message: could not close file ' [md.miscellaneous.name '.bin']]); -
issm/trunk-jpl/src/m/solve/marshall.py
r25300 r25315 1 import subprocess 2 1 3 from WriteData import WriteData 2 4 … … 40 42 try: 41 43 fid.close() 44 # # Uncomment the following to make a copy of the binary input file for 45 # # debugging purposes (can be fed into scripts/ReadBin.py). 46 # copy_cmd = "cp {}.bin {}.py.bin".format(md.miscellaneous.name, md.miscellaneous.name) 47 # subprocess.call(copy_cmd, shell=True) 42 48 except IOError as e: 43 49 print("marshall error message: could not close file '{}.bin' due to:".format(md.miscellaneous.name), e)
Note:
See TracChangeset
for help on using the changeset viewer.