From: eap Date: Thu, 14 Mar 2013 14:55:42 +0000 (+0000) Subject: 0022168]: [CEA 762] medloader documentation X-Git-Tag: V6_main_FINAL~289 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9c54caba0f11ed0994e25ebe95fed360a9a94d3e;p=tools%2Fmedcoupling.git 0022168]: [CEA 762] medloader documentation Fix value of writeFromScratch parameter for appending mesh to file #! [PySnippetMeshAdvAPI1_2] self.assertTrue(isinstance(myMesh,MEDCouplingUMesh)) myMesh.setName(meshName) - MEDLoader.WriteUMesh("wFile1.med",myMesh,True) + MEDLoader.WriteUMesh("wFile1.med",myMesh,False) --- diff --git a/src/MEDLoader/Swig/MEDLoaderExamplesTest.py b/src/MEDLoader/Swig/MEDLoaderExamplesTest.py index 24ee31a8c..db4b25406 100644 --- a/src/MEDLoader/Swig/MEDLoaderExamplesTest.py +++ b/src/MEDLoader/Swig/MEDLoaderExamplesTest.py @@ -167,7 +167,7 @@ class MEDLoaderBasicsTest(unittest.TestCase): #! [PySnippetMeshAdvAPI1_2] self.assertTrue(isinstance(myMesh,MEDCouplingUMesh)) myMesh.setName(meshName) - MEDLoader.WriteUMesh("wFile1.med",myMesh,True) + MEDLoader.WriteUMesh("wFile1.med",myMesh,False) #! [PySnippetMeshAdvAPI1_2] f=myMesh.getMeasureField(ON_CELLS) f=f.buildNewTimeReprFromThis(ONE_TIME,False)