Salome HOME
Modification for new interface of openturns + cleanup
[modules/hydrosolver.git] / src / salome_hydro / pytel / launcher.py
index f1d2e3247c5605637dc138a7afd30a196eb4a8d3..0c27934995e8db288261243f8c6e49e338c266fc 100644 (file)
@@ -30,7 +30,7 @@ def run_pytel(param_dict):
   followed by data conversion scripts.
   """
   interm_files = [] # Intermediate files that can eventually be deleted in the end
-  
+
   # Get and eventually create working directory
   if "REPERTOIRE_TRAVAIL" in param_dict:
     wrkdir = param_dict["REPERTOIRE_TRAVAIL"]
@@ -51,7 +51,7 @@ def run_pytel(param_dict):
 
   # Run the code itself
   code = param_dict["CODE"]
-  cmd += "$TELEMAC_DIR/scripts/python27/runcode.py -w %s -r $TELEMAC_DIR %s %s" % \
+  cmd += "runcode.py -w %s %s %s" % \
          (wrkdir, code, steering_filepath)
   cmd += " ; rc=$?"