Changeset 5050
- Timestamp:
- Feb 19, 2008, 1:24:29 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/utilities/test_polygon.py
r4528 r5050 60 60 from os import sep, getenv 61 61 62 62 63 try: 63 64 # When unit test is run from current dir … … 65 66 except: 66 67 # When unit test is run from ANUGA root dir 67 from os.path import join 68 69 path = join( 'utilities', 'mainland_only.csv')68 from os.path import join, split 69 dir, tail = split( __file__) 70 path = join(dir, 'mainland_only.csv') 70 71 p1 = read_polygon(path) 71 72
Note: See TracChangeset
for help on using the changeset viewer.