Salome HOME
projects
/
tools
/
eficas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54e2a86
)
pour les tuples
author
pascale.noyret
<pascale.noyret@edf.fr>
Wed, 28 Jan 2015 10:15:09 +0000
(11:15 +0100)
committer
pascale.noyret
<pascale.noyret@edf.fr>
Wed, 28 Jan 2015 10:15:09 +0000
(11:15 +0100)
Validation/V_MCSIMP.py
patch
|
blob
|
history
diff --git
a/Validation/V_MCSIMP.py
b/Validation/V_MCSIMP.py
index 8a5c32e96c6a2da7fe5da9fcf271634aff942534..45ac1820559d225e1a9abbc2205718262b6df11f 100644
(file)
--- a/
Validation/V_MCSIMP.py
+++ b/
Validation/V_MCSIMP.py
@@
-100,6
+100,12
@@
class MCSIMP:
valid = 0
lval=listProto.adapt(v)
+ #Pour tenir compte des Tuples
+ if hasattr(self.definition.type[0],'ntuple') :
+ try :
+ if not (type(lval[0]) is tuple) : lval=(lval,)
+ except :
+ pass
if lval is None:
valid=0
if cr == 'oui' :