Salome HOME
Updated copyright comment
[modules/med.git] / src / MEDCalc / tui / medimages.py
index e36ad86b4aedb2df140e9092cded02ced49277e8..00efb0e73cfa5be5244fdad245e0b0a4ebeadd89 100644 (file)
@@ -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):
         """