Salome HOME
Non regression test for cases where field names and mesh names are common.
[modules/paravis.git] / src / Plugins / MEDReader / Test / testMEDReader4.py
index 488a4e9b47418b2031c50646174a44fb2911b686..6857b14183873cc164f1fccac74b1d2de5127048 100644 (file)
@@ -4,7 +4,7 @@
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
 #
 # This library is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -68,9 +68,9 @@ testMEDReader4_med=MEDReader(FileName=fname)
 testMEDReader4_med.AllArrays=['TS0/mesh/ComSup0/f0NoPfl@@][@@P1','TS0/mesh/ComSup0/mesh@@][@@P1']
 #testMEDReader4_med.AllTimeSteps=['0000']
 
-Glyph1=Glyph(GlyphType="Sphere",GlyphTransform="Transform2" )
+Glyph1=Glyph(Input=testMEDReader4_med,GlyphType='Sphere')
 Glyph1.Scalars=['POINTS','f0NoPfl']
-Glyph1.SetScaleFactor=0.3
+Glyph1.ScaleFactor=0.3
 Glyph1.Vectors=['POINTS', '']
 Glyph1.GlyphTransform="Transform2"