From 26dd88c93dc24335b16380c11352cd7f38f7b77f Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 15 May 2019 18:51:58 +0300 Subject: [PATCH] Fix for "16862 [CEA 16749] medcalc.MakeSlices" issue. --- src/MEDCalc/cmp/MEDPresentation.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MEDCalc/cmp/MEDPresentation.cxx b/src/MEDCalc/cmp/MEDPresentation.cxx index a16996489..77828e989 100644 --- a/src/MEDCalc/cmp/MEDPresentation.cxx +++ b/src/MEDCalc/cmp/MEDPresentation.cxx @@ -303,7 +303,7 @@ MEDPresentation::createSource() } std::ostringstream oss; - oss << _srcObjVar << " = pvs.MEDReader(FileName='" << _fileName << "');"; + oss << _srcObjVar << " = pvs.MEDReader(FileName=r'" << _fileName << "');"; pushAndExecPyLine(oss.str()); oss.str(""); oss << "medcalc.SelectSourceField(" << _srcObjVar << ", '" << _meshName << "', '" << _fieldName << "', '" << typ << "');"; -- 2.39.2