Salome HOME
Fix bug caused by the end of multi-study in Salome V7_4_0
authorRenaud Barate <renaud.barate@edf.fr>
Tue, 3 Jun 2014 08:40:15 +0000 (10:40 +0200)
committerRenaud Barate <renaud.barate@edf.fr>
Tue, 3 Jun 2014 08:40:15 +0000 (10:40 +0200)
src/salome/parametric/genjob.py

index c2c36b07428e3d6a18cd2d42f58651b6beeded46..f7b6234e3a86d7fe8d456ad82b687247489108d3 100644 (file)
@@ -33,6 +33,7 @@ import PARAMETRIC
 salome.salome_init()
 
 # load study
+salome.myStudyManager.Close(salome.myStudy)
 study = salome.myStudyManager.Open("%(input_study)s")
 
 # start container, load PARAMETRIC component and load the content of the parametric study in the component