]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Merge remote-tracking branch 'origin/V8_3_BR' into gdd/python3_dev
authorGilles DAVID <gilles-g.david@edf.fr>
Tue, 18 Apr 2017 14:24:50 +0000 (16:24 +0200)
committerGilles DAVID <gilles-g.david@edf.fr>
Tue, 18 Apr 2017 14:24:50 +0000 (16:24 +0200)
1  2 
src/Plugins/MEDReader/Test/testMEDReader0.py
src/Plugins/MEDReader/Test/testMEDReader13.py
src/Plugins/MEDReader/Test/testMEDReader14.py
src/Plugins/MEDReader/Test/testMEDReader16.py
src/Plugins/MEDReader/Test/testMEDReader17.py
src/Plugins/MEDReader/Test/testMEDReader21.py
src/Plugins/MEDReader/Test/testMEDReader6.py

index 3a07ef6a5afbbee847d6ed0587980826dd462324,db2357c1e34e88722d01b7ab0ba251422e57a7ba..68564261a1bb0c9ede38225de817d9dbec251f5c
@@@ -84,14 -84,14 +84,14 @@@ for elt in [ELNOfieldToSurface1,ELNOfie
      assert(vtkArrToTest.GetNumberOfComponents()==2)
      assert(vtkArrToTest.GetComponentName(0)==arr2.getInfoOnComponent(0))
      assert(vtkArrToTest.GetComponentName(1)==arr2.getInfoOnComponent(1))
 -    vals=[vtkArrToTest.GetValue(i) for i in xrange(32)]
 +    vals=[vtkArrToTest.GetValue(i) for i in range(32)]
      assert(arr2.isEqualWithoutConsideringStr(DataArrayDouble(vals,16,2),1e-12))
      pass
- ELNOMesh1=ELNOMesh(Input=reader)
- ELNOPoints1=ELNOPoints(Input=reader)
- ELNOPoints1.SelectSourceArray=['ELNO@MyField']
- for elt in [ELNOMesh1,ELNOPoints1]:
-     elnoMesh=servermanager.Fetch(ELNOMesh1)
+ ELNOfieldToSurface1=ELNOfieldToSurface(Input=reader)
+ ELNOfieldToPointSprite1=ELNOfieldToPointSprite(Input=reader)
+ ELNOfieldToPointSprite1.SelectSourceArray=['ELNO@MyField']
+ for elt in [ELNOfieldToSurface1,ELNOfieldToPointSprite1]:
+     elnoMesh=servermanager.Fetch(ELNOfieldToSurface1)
      vtkArrToTest=elnoMesh.GetBlock(0).GetPointData().GetArray("MyField")
      assert(vtkArrToTest.GetNumberOfTuples()==16)
      assert(vtkArrToTest.GetNumberOfComponents()==2)