/[escript]/trunk/finley/test/python/run_visualization_interface.py
ViewVC logotype

Diff of /trunk/finley/test/python/run_visualization_interface.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2421 by gross, Thu May 14 02:29:06 2009 UTC revision 2422 by gross, Thu May 14 03:17:28 2009 UTC
# Line 248  class Test_VTKFiles(Test_VisualizationIn Line 248  class Test_VTKFiles(Test_VisualizationIn
248       dummy=None       dummy=None
249       timeStamp=None       timeStamp=None
250       unstructured=None       unstructured=None
251       dom=minidom.parseString(open("metadata0.xml",'r').read())       dom=minidom.parseString(open(fn,'r').read())
252       for node in dom.childNodes:       for node in dom.childNodes:
253          if isinstance(node, minidom.Element):          if isinstance(node, minidom.Element):
254             if node.tagName == 'VTKFile':             if node.tagName == 'VTKFile':
# Line 287  class Test_VTKFiles(Test_VisualizationIn Line 287  class Test_VTKFiles(Test_VisualizationIn
287       dummy=None       dummy=None
288       timeStamp=None       timeStamp=None
289       unstructured=None       unstructured=None
290       dom=minidom.parseString(open("metadata1.xml",'r').read())       dom=minidom.parseString(open(fn,'r').read())
291       for node in dom.childNodes:       for node in dom.childNodes:
292          if isinstance(node, minidom.Element):          if isinstance(node, minidom.Element):
293             if node.tagName == 'VTKFile':             if node.tagName == 'VTKFile':
# Line 322  class Test_VTKFiles(Test_VisualizationIn Line 322  class Test_VTKFiles(Test_VisualizationIn
322       saveVTK(fn,x=dom.getX(), metadata_schema={"gml":"http://www.opengis.net/gml"})       saveVTK(fn,x=dom.getX(), metadata_schema={"gml":"http://www.opengis.net/gml"})
323       # testing:       # testing:
324       unstructured=None       unstructured=None
325       dom=minidom.parseString(open("metadata2.xml",'r').read())       dom=minidom.parseString(open(fn,'r').read())
326       for node in dom.childNodes:       for node in dom.childNodes:
327          if isinstance(node, minidom.Element):          if isinstance(node, minidom.Element):
328             if node.tagName == 'VTKFile':             if node.tagName == 'VTKFile':
# Line 342  class Test_VTKFiles(Test_VisualizationIn Line 342  class Test_VTKFiles(Test_VisualizationIn
342       saveVTK(fn,x=dom.getX())       saveVTK(fn,x=dom.getX())
343       # testing:       # testing:
344       unstructured=None       unstructured=None
345       dom=minidom.parseString(open("metadata3.xml",'r').read())       dom=minidom.parseString(open(fn,'r').read())
346       for node in dom.childNodes:       for node in dom.childNodes:
347          if isinstance(node, minidom.Element):          if isinstance(node, minidom.Element):
348             if node.tagName == 'VTKFile':             if node.tagName == 'VTKFile':

Legend:
Removed from v.2421  
changed lines
  Added in v.2422

  ViewVC Help
Powered by ViewVC 1.1.26