X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDLoader%2FSwig%2FConvertMEDFileTo30.py;h=873a7703028b9baf31c16d853406cfb41251bdb2;hb=aafcf704892f03308a84407e898d9e8b19496a1c;hp=bda168554b4f01f2ed5c395f9ab2b2977fbe07eb;hpb=22a4bd76f2e2c06917d391a07efa1aa293b35177;p=tools%2Fmedcoupling.git diff --git a/src/MEDLoader/Swig/ConvertMEDFileTo30.py b/src/MEDLoader/Swig/ConvertMEDFileTo30.py index bda168554..873a77030 100644 --- a/src/MEDLoader/Swig/ConvertMEDFileTo30.py +++ b/src/MEDLoader/Swig/ConvertMEDFileTo30.py @@ -1,6 +1,6 @@ #! /usr/bin/env python # -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2016 CEA/DEN, EDF R&D +# Copyright (C) 2021-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 @@ -35,13 +35,13 @@ def ConvertTo30(nameOfMEDFile): # finalVersion=ml.MEDFileVersionOfFileStr(realFnOut) # - print(("File \"%s\" has been converted to 3.0 successfully ( %s -> %s ) !\nOutput file is here : \"%s\" !"%(fn,initalVersion,finalVersion,realFnOut))) + print(("File \"%s\" has been successfully converted to 3.0 ( %s -> %s ) !\nOutput file is here : \"%s\" !"%(fn,initalVersion,finalVersion,realFnOut))) pass if __name__=="__main__": import argparse - parser=argparse.ArgumentParser(description='Convert a MED file into a MED file with 3.0 version (3.0.8)') - parser.add_argument('nameOfMEDFile', type=str, nargs=1,help='File name of the MED file to be converted into 3.0.') + parser=argparse.ArgumentParser(description='Convert a MED file into a MED file with 3.3 version (3.3.1)') + parser.add_argument('nameOfMEDFile', type=str, nargs=1,help='File name of the MED file to be converted into 3.3.') args=parser.parse_args() nameOfMEDFile=args.nameOfMEDFile[0] ConvertTo30(nameOfMEDFile)