Salome HOME
projects
/
tools
/
medcoupling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MERGE stage 1: keep doc/dev and src/MEDCalc/doc
[tools/medcoupling.git]
/
src
/
MEDLoader
/
Swig
/
medutilities.py
diff --git
a/src/MEDLoader/Swig/medutilities.py
b/src/MEDLoader/Swig/medutilities.py
index c99898e0c4d6de45a300a60ebad6ff14c6efc954..64c541868e1b1caf483606636390ea181d97a867 100644
(file)
--- a/
src/MEDLoader/Swig/medutilities.py
+++ b/
src/MEDLoader/Swig/medutilities.py
@@
-1,6
+1,6
@@
# -*- coding: iso-8859-1 -*-
# --
# -*- coding: iso-8859-1 -*-
# --
-# Copyright (C) 2009-201
4
CEA/DEN, EDF R&D
+# Copyright (C) 2009-201
5
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
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-49,7
+49,7
@@
def convert(file_in, driver_in, driver_out, format=1, file_out=None):
#
if driver_in == "GIBI":
sr = SauvReader.New(file_in)
#
if driver_in == "GIBI":
sr = SauvReader.New(file_in)
- mfd= sr.loadInMEDFileDS(
format
)
+ mfd= sr.loadInMEDFileDS()
pass
elif driver_in == "MED":
mfd = MEDFileData(file_in)
pass
elif driver_in == "MED":
mfd = MEDFileData(file_in)
@@
-110,10
+110,9
@@
def convert(file_in, driver_in, driver_out, format=1, file_out=None):
raise NotImplementedError("Driver in %s is unknown"%(driver_in))
def sauv2med(*argv):
raise NotImplementedError("Driver in %s is unknown"%(driver_in))
def sauv2med(*argv):
-
keep2DOri = ( "--keep2DOri" in argv
)
+
argv = list(argv
)
for arg in argv:
for arg in argv:
- if not arg.startswith("--keep"):
- convert(arg, "GIBI", "MED", format = keep2DOri)
+ convert(arg, "GIBI", "MED")
pass
return
pass
return