From: Pascale Noyret Date: Tue, 2 Jun 2009 15:02:11 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V1_16a5~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=06fb60e561a218b4f02428ac452c2fcee866e3bd;p=tools%2Feficas.git *** empty log message *** --- diff --git a/Aster/Cata/cataSTA9/SD/sd_char_cine.py b/Aster/Cata/cataSTA9/SD/sd_char_cine.py index 56317c40..e7a65417 100644 --- a/Aster/Cata/cataSTA9/SD/sd_char_cine.py +++ b/Aster/Cata/cataSTA9/SD/sd_char_cine.py @@ -1,4 +1,4 @@ -#@ MODIF sd_char_cine SD DATE 16/09/2008 AUTEUR PELLET J.PELLET +#@ MODIF sd_char_cine SD DATE 06/05/2009 AUTEUR MACOCCO K.MACOCCO # -*- coding: iso-8859-1 -*- # CONFIGURATION MANAGEMENT OF EDF VERSION # ====================================================================== @@ -65,7 +65,7 @@ class sd_char_cine(AsBase): phen, tsca = self.u_veri1() afci=self.AFCI.get() nbloc=afci[0] - assert len(afci)==3*nbloc+1 , afci + assert len(afci)>=3*nbloc+1 , afci for k in range(nbloc) : nuno =afci[3*k +1] nucmp=afci[3*k +2] @@ -86,7 +86,7 @@ class sd_char_cine(AsBase): assert afck[2].strip() != '' , afck else : tsca2 = self.AFCV.type.strip() - assert self.AFCV.lonmax == nbloc , (nbloc,self.AFCV.lonmax) + assert self.AFCV.lonmax >= nbloc , (nbloc,self.AFCV.lonmax) if tsca == 'RE' : assert tsca2=='R', tsca2 # champ de réels @@ -98,6 +98,6 @@ class sd_char_cine(AsBase): # vérification des fonctions : if tsca == 'FT' : afcv = self.AFCV.get() - for fonc in afcv : + for fonc in afcv[:nbloc] : sd2=sd_fonction(fonc); sd2.check(checker)