Salome HOME
Copyright update 2020
[modules/med.git] / src / MEDCalc / tui / medimages.py
index e36ad86b4aedb2df140e9092cded02ced49277e8..430188e795c5e3768fb072bf13a4a1cb16a13e46 100644 (file)
@@ -1,5 +1,5 @@
 #  -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2016  CEA/DEN, EDF R&D
+# Copyright (C) 2007-2020  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
@@ -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):
         """