\r
from batchmode_SuperV import *\r
import os\r
-dir= os.getenv("SALOME_ROOT_DIR")\r
+dir= os.getenv("SUPERV_ROOT_DIR")\r
if dir == None:\r
- raise RuntimeError, "SALOME_ROOT_DIR is not defined"\r
-xmlfile = dir +"/../SALOME_ROOT/SuperVisionTest/resources/GraphEssai.xml"\r
+ raise RuntimeError, "SUPERV_ROOT_DIR is not defined"\r
+xmlfile = dir +"/examples/GraphEssai.xml"\r
print "--------------\n"+xmlfile+"\n--------------\n"\r
\r
myGraph = Graph ( xmlfile )\r
Names.sort()\r
if names != Names :\r
raise RuntimeError, "List of dataflow nodes after save differs from one befor save operation"\r
-</PRE>
\ No newline at end of file
+</PRE>\r