Salome HOME
Fix MEDWRITER_0 test and try to fix VoroGauss. Avoid duplicity of symbols in VTKToMEDMem
[modules/paravis.git] / src / Plugins / MEDReader / plugin / Test / testMEDReader18.py
index d9cb993ff5770db2a4ab188f4eb587eaa95276ca..58839809483220387911e3cf6ffbd58511a8158d 100644 (file)
@@ -1,5 +1,5 @@
 #  -*- coding: iso-8859-1 -*-
-# Copyright (C) 2015-2021  CEA/DEN, EDF R&D
+# Copyright (C) 2015-2022  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -48,8 +48,8 @@ def GenerateCase():
 @WriteInTmpDir
 def test():
   fname = GenerateCase()
-  reader=MEDReader(FileName=fname)
-  reader.AllArrays=['TS0/mesh/ComSup0/mesh@@][@@P0']
+  reader=MEDReader(FileNames=[fname])
+  reader.FieldsStatus=['TS0/mesh/ComSup0/mesh@@][@@P0']
   ExtractGroup1 = ExtractGroup(Input=reader)
   ExtractGroup1.AllGroups=["GRP_grp0","GRP_grp1"]
   #ExtractGroup1.UpdatePipelineInformation()