Changeset 7970


Ignore:
Timestamp:
Aug 24, 2010, 10:57:29 AM (14 years ago)
Author:
wilsonr
Message:

Fixed problem with imports referencing deleted modules. Now passes validation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_validation/automated_validation_tests/okushiri_tank_validation/compare_timeseries_with_measures.py

    r7877 r7970  
    66"""
    77
     8import sys
     9
    810import numpy as num
    911from Scientific.IO.NetCDF import NetCDFFile
    1012
     13import project
    1114from anuga.abstract_2d_finite_volumes.util import file_function
    1215from anuga.utilities.numerical_tools import\
    1316     ensure_numeric, cov, get_machine_precision
    14 
    15 import project
    16 import sys
     17from anuga.shallow_water.sww_interrogate import get_maximum_inundation_elevation
     18from anuga.shallow_water.sww_interrogate import get_maximum_inundation_location
     19from anuga.geometry.polygon import is_inside_polygon
     20from create_okushiri import gulleys
    1721
    1822if sys.platform == 'win32':
     
    122126#--------------------------------------------------
    123127
    124 import sys
    125128if len(sys.argv) > 1:
    126129    sww_filename = sys.argv[1]
     
    228231# Check max runup
    229232
    230 from anuga.shallow_water.data_manager import get_maximum_inundation_elevation
    231 from anuga.shallow_water.data_manager import get_maximum_inundation_location
    232 from anuga.utilities.polygon import is_inside_polygon
    233 
    234233q = get_maximum_inundation_elevation(sww_filename)
    235234loc = get_maximum_inundation_location(sww_filename)
     
    241240
    242241
    243 from create_okushiri import gulleys
    244242assert is_inside_polygon(loc, gulleys)
    245243
Note: See TracChangeset for help on using the changeset viewer.