]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Fix for "16862 [CEA 16749] medcalc.MakeSlices" issue. rnv/16862
authorrnv <rnv@opencascade.com>
Wed, 15 May 2019 15:51:58 +0000 (18:51 +0300)
committerrnv <rnv@opencascade.com>
Wed, 15 May 2019 15:51:58 +0000 (18:51 +0300)
src/MEDCalc/cmp/MEDPresentation.cxx

index a16996489a4a7c309c56d6f608966be54a8c96d5..77828e9898e5d0f78fe23e1297c9c012605fb91d 100644 (file)
@@ -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 << "');";