# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2015-2020 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
@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()