X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDLoader%2FSwig%2FConvertMEDFileTo30.py;h=4a4ef1ce36454cd5701371e4aee060182305f072;hb=47fc37875313e4407e27ca91461c81ee82072095;hp=3501af902f841040685a839a52c09839fb7388a7;hpb=f1ffb79038f0a198742f1ffc52428179a0f1ef86;p=tools%2Fmedcoupling.git diff --git a/src/MEDLoader/Swig/ConvertMEDFileTo30.py b/src/MEDLoader/Swig/ConvertMEDFileTo30.py index 3501af902..4a4ef1ce3 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 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 successfuly ( %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)