From: PASCALE NOYRET Date: Mon, 24 Jan 2022 13:51:08 +0000 (+0100) Subject: bug sur repetable des fact X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=dabece0e372c9cde2fe36c9583752f89366e37fc;p=tools%2Feficas.git bug sur repetable des fact --- diff --git a/Ihm/I_MCLIST.py b/Ihm/I_MCLIST.py index 15f59b49..e3a5d296 100644 --- a/Ihm/I_MCLIST.py +++ b/Ihm/I_MCLIST.py @@ -74,12 +74,10 @@ class MCList: #print ('MCList getDicoObjetsCompletsPourTree pour ', self) listeDict=[] nbFactDejaLa=len(self.data) - print ('_______________________________________________________________') - print (self.data) for i in self.data: dico = i.getDicoForFancy() if nbFactDejaLa > i.definition.min : dico['statut']='f' - if nbFactDejaLa < i.definition.max : dico['repetable'] = 1 + if nbFactDejaLa < i.definition.max-1 : dico['repetable'] = 1 else : dico['repetable'] = 0 listeDict.append(dico) return listeDict