]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Porting tests to new PV version
authorAnthony Geay <anthony.geay@edf.fr>
Thu, 27 Jun 2019 11:02:43 +0000 (13:02 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 27 Jun 2019 11:02:43 +0000 (13:02 +0200)
src/Plugins/MEDReader/Test/testMEDReader15.py
src/Plugins/MEDReader/Test/testMEDReader4.py
src/Plugins/MEDReader/Test/testMEDReader6.py

index 8d6bdef2e602bc79279502c3ea98c3e67a170226..f9680a24760b54c84b03710fb0e3759a19882315 100644 (file)
@@ -52,7 +52,7 @@ ExpectedEntries=['TS0/zeName/ComSup0/zeName@@][@@P1','TS0/zeName/ComSup0/MESH@ze
 assert(reader.GetProperty("FieldsTreeInfo")[::2]==ExpectedEntries)
 
 #
-glyph1=Glyph(Input=reader,GlyphType='Arrow',ScaleArray='FamilyIdNode',OrientationArray='zeName',GlyphMode='All Points',MaximumGlyphSize=0.1,GlyphTransform='Transform2')
+glyph1=Glyph(Input=reader,GlyphType='Arrow',ScaleArray='FamilyIdNode',OrientationArray='zeName',GlyphMode='All Points',ScaleFactor=0.1,GlyphTransform='Transform2')
 
 if '-D' not in sys.argv:
   renderView1=GetActiveViewOrCreate('RenderView')
index f98f107ec8d69e966ecb64269af56d4967864fcb..3f88aa9bf0f3610cae2a70fa0b432b8200f8edf0 100644 (file)
@@ -73,7 +73,7 @@ testMEDReader4_med.AllArrays=['TS0/mesh/ComSup0/f0NoPfl@@][@@P1','TS0/mesh/ComSu
 
 Glyph1=Glyph(Input=testMEDReader4_med,GlyphType='Sphere')
 Glyph1.ScaleArray=['POINTS','f0NoPfl']
-Glyph1.MaximumGlyphSize=0.3
+Glyph1.ScaleFactor=0.3
 Glyph1.OrientationArray = ['POINTS', 'No orientation array']
 Glyph1.GlyphTransform="Transform2"
 
index 1b0d2c9dce084f5899f98922e400f4eec29a7d2a..35325601f5acb16d15de6cf467fa3006bdf1aa06 100644 (file)
@@ -74,7 +74,7 @@ ELGAfieldToPointGaussian1.SelectSourceArray = ['CELLS','ELGA@0']
 Glyph1 = Glyph( Input=ELGAfieldToPointGaussian1, GlyphType="Sphere", GlyphTransform="Transform2" )
 Glyph1.GlyphType = "Sphere"
 Glyph1.OrientationArray = ['POINTS', 'No orientation array']
-Glyph1.MaximumGlyphSize = 0.29
+Glyph1.ScaleFactor = 0.29
 
 if '-D' not in sys.argv:
     RenderView1 = GetRenderView()