exec script in d
except:
#else:
+ traceback.print_exc()
QMessageBox.warning(
None,
self.appliEficas.trUtf8("Erreur interne"),
# OpenTURNS Python module
-OpenTURNS_path="/opt/OpenTURNS/install/lib/python2.4/site-packages"
+OpenTURNS_path="/local00/home/dutka/OpenTURNS/merge/trunk/build/install/lib/python2.4/site-packages"
# Choix des catalogues
-sys.path[:0]=[INSTALLDIR]
-sys.path.append( OpenTURNS_path )
+sys.path[:0]=[INSTALLDIR, OpenTURNS_path]
exec_acrobat = "/usr/bin/xpdf"
# OpenTURNS Python module
-OpenTURNS_path="/opt/OpenTURNS/install/lib/python2.4/site-packages"
+OpenTURNS_path="/local00/home/dutka/OpenTURNS/merge/trunk/build/install/lib/python2.4/site-packages"
# Choix des catalogues
-sys.path[:0]=[INSTALLDIR]
-sys.path.append( OpenTURNS_path )
+sys.path[:0]=[INSTALLDIR,OpenTURNS_path]
# Chargement du module systeme
import sys
-sys.path.append( '%s' )
+sys.path[:0]=['%s']
# Chargement du module math
import math
'''
Produit une image PNG representant la PDF de la loi
'''
- txt = headerSTD
+ txt = headerSTD % self.OpenTURNS_path
txt += "dist = %s\n" % apply( STDGenerateur.__dict__[ loi[ 'Kind' ] ], (self, loi) )
txt += "graph = dist.drawPDF()\n"
txt += "graph.draw( '%s' )\n" % fichier