From: Eric Fayolle Date: Fri, 23 Sep 2022 10:24:25 +0000 (+0200) Subject: Correction du retour du bug avec une seule selection de fonction d'aggégation X-Git-Tag: merge_uncertainty_odysee_1210~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4bda74f6223e32ee33d751e2796fdcb02a01c780;p=tools%2Feficas.git Correction du retour du bug avec une seule selection de fonction d'aggégation --- diff --git a/generator/generator_UQ.py b/generator/generator_UQ.py index 65824151..6eac0f42 100644 --- a/generator/generator_UQ.py +++ b/generator/generator_UQ.py @@ -241,13 +241,13 @@ class UQGenerator(PythonGenerator): variableOutputList = nomOutputList[0:-2], nomVarPostraite = nomVarPostraite, fonctionAggregationList = nomFctAggPyList[0:-2], - shortVariableOutputList = nomShortVariableOutputList # Avoid a Persalys Bug + shortVariableOutputList = nomShortVariableOutputList[0:-2] # Avoid a Persalys Bug ) self.txtGetAllResults += tmpGetResultCall self.chaineDesVariablesOutputEncodee=self.chaineDesVariablesOutputEncodee[0:-2] self.chaineDesShortVariablesOutput = reduce(lambda x,y:x+y, - [ "a"+str(i)+', ' for i in range(index)]) + [ "a"+str(i)+', ' for i in range(index)])[0:-2] sectionExecution = etapeIncertitude.getChildOrChildInBloc('Execution')[0] self.NbDeBranches = sectionExecution.getChildOrChildInBloc('NbDeBranches').valeur