[cig-commits] r21378 - seismo/2D/SPECFEM2D/trunk/UTILS/Gmsh
cristini at geodynamics.org
cristini at geodynamics.org
Wed Feb 20 12:54:55 PST 2013
Author: cristini
Date: 2013-02-20 12:54:54 -0800 (Wed, 20 Feb 2013)
New Revision: 21378
Modified:
seismo/2D/SPECFEM2D/trunk/UTILS/Gmsh/LibGmsh2Specfem_convert_Gmsh_to_Specfem2D_official.py
Log:
Added MAC support for the python script which processes .msh files
Modified: seismo/2D/SPECFEM2D/trunk/UTILS/Gmsh/LibGmsh2Specfem_convert_Gmsh_to_Specfem2D_official.py
===================================================================
--- seismo/2D/SPECFEM2D/trunk/UTILS/Gmsh/LibGmsh2Specfem_convert_Gmsh_to_Specfem2D_official.py 2013-02-20 16:19:35 UTC (rev 21377)
+++ seismo/2D/SPECFEM2D/trunk/UTILS/Gmsh/LibGmsh2Specfem_convert_Gmsh_to_Specfem2D_official.py 2013-02-20 20:54:54 UTC (rev 21378)
@@ -47,7 +47,7 @@
#
# Open the file and get the lines
#
- f = file(Dir+fic,'r')
+ f = file(Dir+fic,'rU')
lignes= f.readlines()
f.close()
# Looking for positions
More information about the CIG-COMMITS
mailing list