X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCalc%2Ftui%2Fmedimages.py;h=00efb0e73cfa5be5244fdad245e0b0a4ebeadd89;hb=c933321e259af4968b2469c1d4f6b7ac5178e294;hp=e36ad86b4aedb2df140e9092cded02ced49277e8;hpb=a1c6c7c23dfa9ee3eed102b7b85b8183c3ee86e8;p=modules%2Fmed.git diff --git a/src/MEDCalc/tui/medimages.py b/src/MEDCalc/tui/medimages.py index e36ad86b4..00efb0e73 100644 --- a/src/MEDCalc/tui/medimages.py +++ b/src/MEDCalc/tui/medimages.py @@ -1,5 +1,5 @@ # -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2016 CEA/DEN, EDF R&D +# Copyright (C) 2007-2024 CEA, EDF # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -24,7 +24,7 @@ import sys if sys.platform == "win32": import MEDCouplingCompat as MC else: - import MEDCoupling as MC + import medcoupling as MC import MEDLoader as ML @@ -53,7 +53,7 @@ class FieldBuilder: # just have to specify the field and the MEDLoader will save the # underlying mesh. createFromScratch=True - ML.MEDLoader.WriteField(medFilepath,field,createFromScratch) + ML.WriteField(medFilepath,field,createFromScratch) def createMesh(self, meshname, sizeX, sizeY): """