/[escript]/trunk/pyvisi/test/python/run_camera.py
ViewVC logotype

Diff of /trunk/pyvisi/test/python/run_camera.py

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

revision 1137 by jongui, Thu Mar 29 04:20:50 2007 UTC revision 1138 by gross, Mon May 14 04:15:04 2007 UTC
# Line 3  from esys.pyvisi.constant import * Line 3  from esys.pyvisi.constant import *
3  import unittest, os  import unittest, os
4  from stat import ST_SIZE  from stat import ST_SIZE
5    
6  PYVISI_TEST_MESHES_PATH = "data_meshes/"  try:
7  PYVISI_TEST_CAMERA_IMAGES_PATH = "data_sample_images/camera/"       PYVISI_WORKDIR=os.environ['PYVISI_WORKDIR']
8    except KeyError:
9         PYVISI_WORKDIR='.'
10        
11    PYVISI_TEST_MESHES_PATH = s.path.join(PYVISI_WORKDIR,"data_meshes")
12    PYVISI_TEST_CAMERA_IMAGES_PATH = os.path.join(PYVISI_WORKDIR,"data_sample_images","camera")
13  MIN_IMAGE_SIZE = 100  MIN_IMAGE_SIZE = 100
14  FILE_2D = "interior_2D.xml"  FILE_2D = "interior_2D.xml"
15  FILE_3D = "interior_3D.xml"  FILE_3D = "interior_3D.xml"

Legend:
Removed from v.1137  
changed lines
  Added in v.1138

  ViewVC Help
Powered by ViewVC 1.1.26