# bos #42618 - https://github.com/nschloe/meshio/issues/1484
fPy=$PRODUCT_INSTALL/lib/python${PYTHON_VERSION}/site-packages/meshio/gmsh/main.py
if [ -f $fPy ]; then
- sed -i 's/"gmsh": lambda f, m, \*\*kwargs: write(f, m, "4.1", \*\*kwargs)/"gmsh": lambda f, m, \*\*kwargs: write(f, m, "4.0", \*\*kwargs)/g' $fPy
+ sed -i 's/"gmsh": lambda f, m, \*\*kwargs: write(f, m, "4.1", \*\*kwargs)/"gmsh40": lambda f, m, \*\*kwargs: write(f, m, "4.0", \*\*kwargs)/g' $fPy
if [ $? -ne 0 ]; then
echo "FATAL: could not apply fixes to GMSH MeshIO driver"
exit 1
# bos #42618 - https://github.com/nschloe/meshio/issues/1484
fPy=$PRODUCT_INSTALL/lib/python${PYTHON_VERSION}/site-packages/meshio/gmsh/main.py
if [ -f $fPy ]; then
- sed -i 's/"gmsh": lambda f, m, \*\*kwargs: write(f, m, "4.1", \*\*kwargs)/"gmsh": lambda f, m, \*\*kwargs: write(f, m, "4.0", \*\*kwargs)/g' $fPy
+ sed -i 's/"gmsh": lambda f, m, \*\*kwargs: write(f, m, "4.1", \*\*kwargs)/"gmsh40": lambda f, m, \*\*kwargs: write(f, m, "4.0", \*\*kwargs)/g' $fPy
if [ $? -ne 0 ]; then
echo "FATAL: could not apply fixes to GMSH MeshIO driver"
exit 1
# bos #42618 - https://github.com/nschloe/meshio/issues/1484
fPy=$PRODUCT_INSTALL/lib/python${PYTHON_VERSION}/site-packages/meshio/gmsh/main.py
if [ -f $fPy ]; then
- sed -i 's/"gmsh": lambda f, m, \*\*kwargs: write(f, m, "4.1", \*\*kwargs)/"gmsh": lambda f, m, \*\*kwargs: write(f, m, "4.0", \*\*kwargs)/g' $fPy
+ sed -i 's/"gmsh": lambda f, m, \*\*kwargs: write(f, m, "4.1", \*\*kwargs)/"gmsh40": lambda f, m, \*\*kwargs: write(f, m, "4.0", \*\*kwargs)/g' $fPy
if [ $? -ne 0 ]; then
echo "FATAL: could not apply fixes to GMSH MeshIO driver"
exit 1
{
"gmsh22": lambda f, m, **kwargs: write(f, m, "2.2", **kwargs),
- "gmsh": lambda f, m, **kwargs: write(f, m, "4.1", **kwargs),
-+ "gmsh": lambda f, m, **kwargs: write(f, m, "4.0", **kwargs),
++ "gmsh40": lambda f, m, **kwargs: write(f, m, "4.0", **kwargs),
},
)
--- meshio-5.3.5_ref/src/meshio/ansys/_ansys.py 2024-01-31 16:09:01.000000000 +0100